mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
ci(container): login to ghcr to fetch digests for manifest (#5206)
This commit is contained in:
commit
289a7e3859
1 changed files with 9 additions and 2 deletions
11
.github/workflows/container.yml
vendored
11
.github/workflows/container.yml
vendored
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
- name: Install Podman
|
||||
uses: redhat-actions/podman-install@main
|
||||
# TODO(@getchoo): Always use this when the action properly supports ARM
|
||||
if: ${{ runner.arch == 'X64' }}
|
||||
if: ${{ runner.arch == 'X64' || runner.arch == 'X86' }}
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
|
||||
|
|
@ -127,11 +127,18 @@ jobs:
|
|||
|
||||
- name: Install Podman
|
||||
# TODO(@getchoo): Always use this when the action properly supports ARM
|
||||
if: ${{ runner.arch == 'X64' }}
|
||||
if: ${{ runner.arch == 'X64' || runner.arch == 'X86' }}
|
||||
uses: redhat-actions/podman-install@main
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
|
||||
- name: Login to registry
|
||||
uses: redhat-actions/podman-login@v1
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ github.token }}
|
||||
|
||||
- name: Determine metadata for manifest
|
||||
id: manifest-metadata
|
||||
uses: docker/metadata-action@v6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue