Skip to content

Commit

Permalink
Don't run publish on push and make it actually push to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianDAlessandro committed Aug 1, 2024
1 parent 84b3259 commit 4e8b3d3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
on: [push, release]
on: [release]

jobs:
test:
uses: ./.github/workflows/ci.yml

publish:
runs-on: ubuntu-20.04
# needs: test
needs: test
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
Expand All @@ -23,8 +23,8 @@ jobs:
type=semver,pattern={{raw}}
type=raw,value=latest,enable={{is_default_branch}}
- run: echo ${{ steps.meta.outputs.tags }}
# - name: Build and push Docker image
# uses: docker/build-push-action@v2
# with:
# push: true
# tags: ${{ steps.meta.outputs.tags }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 4e8b3d3

Please sign in to comment.