Skip to content

Commit

Permalink
Tag with github.sha instead of PR number
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Oct 25, 2023
1 parent b4c7a43 commit 5edca67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ jobs:
with:
registry: ghcr.io
repository: ${{ github.repository }}/${{ matrix.package }}
target: ${{ github.event.number }}
target: ${{ github.sha }}
tags: test
8 changes: 0 additions & 8 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,6 @@ jobs:
triggers: ('${{ matrix.triggers }}/')
build_context: ${{ matrix.build_context }}

- name: Tag Docker Images
uses: shrink/actions-docker-registry-tag@v3
with:
registry: ghcr.io
repository: ${{ github.repository }}/${{ matrix.package }}
target: ${{ github.sha }}
tags: ${{ github.event.number }}

# https://github.com/bcgov-nr/action-deployer-openshift
deploys:
name: Deploys
Expand Down

0 comments on commit 5edca67

Please sign in to comment.