Skip to content

Commit

Permalink
fixing container build workflow (#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaleman committed May 27, 2024
1 parent aa0da18 commit 8dc64bb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- # https://github.com/docker/login-action/#github-container-registry
- # https://github.com/docker/login-action/#github-container-registry
name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -62,7 +62,6 @@ jobs:
platforms: linux/amd64,linux/arm64
context: .
tags: ghcr.io/yaleman/goatns:latest
push: ${{ github.ref == 'refs/heads/main' }}
push: ${{ github.ref == 'refs/heads/main' }}
cache-from: type=gha
build-args: GITHUB_SHA=${GITHUB_SHA}
if: github.event.pull_request.merged == true

0 comments on commit 8dc64bb

Please sign in to comment.