Skip to content

Commit

Permalink
chore(ci): Remove Login to GHCR, move to skopeo for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Oct 30, 2024
1 parent 014d775 commit fe2ba90
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,6 @@ jobs:
- base_name: bazzite-deck
target_nvidia_flavor: nvidia
steps:
- name: Login to GHCR (fail fast)
uses: Wandalen/[email protected]
if: github.event_name != 'pull_request'
with:
attempt_limit: 3
attempt_delay: 15000
command: |
echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Define env.IMAGE_FLAVOR
run: |
if [[ "${{ matrix.base_name }}" == "bazzite-nvidia" ]]; then
Expand Down Expand Up @@ -396,6 +387,7 @@ jobs:
attempt_limit: 3
attempt_delay: 15000
commands: |
echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login ghcr.io -u ${{ github.actor }} --password-stdin
for tag in ${{ steps.generate-tags.outputs.alias_tags }}; do
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}:$tag
done
Expand Down

0 comments on commit fe2ba90

Please sign in to comment.