Skip to content

Commit

Permalink
add working startsWith
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Sep 12, 2024
1 parent 5a046fc commit b670590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
docker image tag us-docker.pkg.dev/oplabs-tools-artifacts/images/op-dispute-mon ghcr.io/${{ github.repository_owner }}/op-dispute-mon
- name: Tag versions
if: startsWith(github.ref_name, "v")
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
docker image tag ghcr.io/${{ github.repository_owner }}/op-challenger ghcr.io/${{ github.repository_owner }}/op-challenger:${{ github.ref_name }}
docker image tag ghcr.io/${{ github.repository_owner }}/op-node ghcr.io/${{ github.repository_owner }}/op-node:${{ github.ref_name }}
Expand Down

0 comments on commit b670590

Please sign in to comment.