Skip to content

Commit

Permalink
Add "per commit" CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-bessei committed Oct 4, 2024
1 parent 3f6f8dd commit bfa3b56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/per-commit_publish-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: "Pull from Docker Hub and republish on Quay.io"
run: |
docker pull caddy:2-alpine
docker tag caddy:2-alpine ${{ vars.CI_REGISTRY_IMAGE }}:${{ env.GITHUB_SHA }}_v2-alpine
docker push ${{ vars.CI_REGISTRY_IMAGE }}:${{ env.GITHUB_SHA }}_v2-alpine
docker tag caddy:2-alpine ${{ vars.CI_REGISTRY_IMAGE }}:${{ github.sha }}_v2-alpine
docker push ${{ vars.CI_REGISTRY_IMAGE }}:${{ github.sha }}_v2-alpine
# Build a customer Caddy docker image with Cloudflare DNS support and push it to Quay.io
v2-alpine_cloudflare:
runs-on: ubuntu-latest
Expand All @@ -38,4 +38,4 @@ jobs:
with:
file: images/v2-alpine_cloudflare/Dockerfile
push: true
tags: ${{ vars.CI_REGISTRY_IMAGE }}:${{ env.GITHUB_SHA }}_v2-alpine_cloudflare-debug
tags: ${{ vars.CI_REGISTRY_IMAGE }}:${{ github.sha }}_v2-alpine_cloudflare-debug

0 comments on commit bfa3b56

Please sign in to comment.