Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
leoriviera committed Nov 10, 2023
1 parent 8665638 commit 7434a24
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish-image.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: Publish SSH Container

on:
workflow_call:
inputs:
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/publish-images.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
name: Publish SSH Container
name: Publish container images

on:
workflow_dispatch:

env:
REGISTRY: ghcr.io

jobs:
publish-ssh:
build-and-push-ssh:
name: Build SSH image
uses: ./.github/workflows/publish-image.yaml
with:
image_name: ssh-container
image_name: contained-ssh
docker_context: ./ssh
secrets: inherit
permissions:
contents: read
packages: write
build-and-push-server:
name: Build server image
uses: ./.github/workflows/publish-image.yaml
with:
image_name: contained-server
docker_context: ./server
secrets: inherit
permissions:
contents: read
packages: write

0 comments on commit 7434a24

Please sign in to comment.