diff --git a/.github/workflows/publish-image.yaml b/.github/workflows/publish-image.yaml index fed6870..c70218c 100644 --- a/.github/workflows/publish-image.yaml +++ b/.github/workflows/publish-image.yaml @@ -1,5 +1,3 @@ -name: Publish SSH Container - on: workflow_call: inputs: diff --git a/.github/workflows/publish-images.yaml b/.github/workflows/publish-images.yaml index 58b7756..a32d017 100644 --- a/.github/workflows/publish-images.yaml +++ b/.github/workflows/publish-images.yaml @@ -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