-
-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Remove Login to GHCR, move to skopeo for loop
- Loading branch information
Showing
1 changed file
with
1 addition
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|