From 13e21764c660ec3857b90d9b6a5bb47cf62d2cb5 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 30 Dec 2025 13:06:02 -0500 Subject: [PATCH] Correct container.yml --- .github/workflows/container.yml | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 9c4b1a7..19f0ed0 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -1,10 +1,18 @@ -name: container +name: Container -on: workflow_dispatch +on: + workflow_dispatch: + release: + types: published jobs: - test: + push_container: runs-on: ubuntu-latest + + permissions: + contents: read + packages: write + steps: - uses: actions/checkout@v6 @@ -22,10 +30,11 @@ jobs: - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v6 - platforms: linux/amd64,linux/arm64 - context: . - file: deployment/Dockerfile-router - push: true - tags: | - ghcr.io/rsesek/mailpopbox-router:latest - ghcr.io/rsesek/mailpopbox-router:${{ env.VERSION }} + with: + platforms: linux/amd64,linux/arm64 + context: . + file: deployment/Dockerfile-router + push: true + tags: | + ghcr.io/rsesek/mailpopbox/mailpopbox-router:latest + ghcr.io/rsesek/mailpopbox/mailpopbox-router:${{ env.VERSION }} -- 2.43.5