Skip to content

Commit 5c05d83

Browse files
committed
add latest push
1 parent b6aed97 commit 5c05d83

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ jobs:
7373
registry: ghcr.io
7474
username: ${{ github.actor }}
7575
password: ${{ secrets.GITHUB_TOKEN }}
76+
77+
- name: Upload OCI image as latest
78+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
79+
run: |
80+
echo "${{ secrets.GITHUB_TOKEN }}" | podman login ghcr.io -u ${{ github.actor }} --password-stdin
81+
podman push localhost/nvidia-oci-f${{ matrix.fedora_version}} \
82+
"docker://ghcr.io/${{ github.repository }}:latest-f${{ matrix.fedora_version }}-${{ matrix.arch }}"
7683
7784
- name: Generate artifact attestation
7885
uses: actions/attest-build-provenance@v3

0 commit comments

Comments
 (0)