Skip to content

Commit

Permalink
zess: test out push
Browse files Browse the repository at this point in the history
  • Loading branch information
Topvennie committed Aug 26, 2024
1 parent be0cdfe commit c056993
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write

steps:
Expand All @@ -32,9 +31,7 @@ jobs:
- name: Build Docker image
run: |
docker build . -t ghcr.io/zeuswpi/zess:pr-${{ github.sha }}
if [ "${{ github.event_name }}" == "push" ]; then
docker tag ghcr.io/zeuswpi/zess:pr-${{ github.sha }} ghcr.io/zeuswpi/zess:latest
fi
docker tag ghcr.io/zeuswpi/zess:pr-${{ github.sha }} ghcr.io/zeuswpi/zess:latest
- name: Push Docker image
if: github.event_name == 'push'
Expand Down

0 comments on commit c056993

Please sign in to comment.