Skip to content

Commit

Permalink
next try
Browse files Browse the repository at this point in the history
  • Loading branch information
Lerentis committed Aug 15, 2023
1 parent 3527925 commit 1ca9541
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-publish-jnlp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Push release image with containerd
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
run: |
sudo ctr i push --user "${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}" ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.image }}:${{env.GITHUB_REF_NAME}}
sudo ctr i push --user "${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}" ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.image }}:${{ github.ref_name }}
- name: Create and push soci index
if: ${{ github.event_name != 'pull_request' }}
Expand All @@ -128,8 +128,8 @@ jobs:
- name: Create and push soci index for new releases
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
run: |
sudo soci create ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.image }}:${{env.GITHUB_REF_NAME}}
sudo soci push --user ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.image }}:${{env.GITHUB_REF_NAME}}
sudo soci create ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.image }}:${{ github.ref_name }}
sudo soci push --user ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.image }}:${{ github.ref_name }}
# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
Expand Down

0 comments on commit 1ca9541

Please sign in to comment.