mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
fix(ci): Add setup-oras step to include ORAS CLI for container builds on ubuntu-24.04. (#3368)
This commit is contained in:
parent
b3be758b74
commit
c324fa92f5
3
.github/workflows/docker_build_kanidm.yml
vendored
3
.github/workflows/docker_build_kanidm.yml
vendored
|
@ -71,7 +71,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: kanidm-docker
|
name: kanidm-docker
|
||||||
path: /tmp
|
path: /tmp
|
||||||
|
- name: Set up ORAS
|
||||||
|
uses: oras-project/setup-oras@v1
|
||||||
- name: Push image to GHCR
|
- name: Push image to GHCR
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.GITHUB_TOKEN }}" | \
|
echo "${{ secrets.GITHUB_TOKEN }}" | \
|
||||||
|
|
3
.github/workflows/docker_build_kanidmd.yml
vendored
3
.github/workflows/docker_build_kanidmd.yml
vendored
|
@ -88,7 +88,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: kanidmd-docker
|
name: kanidmd-docker
|
||||||
path: /tmp
|
path: /tmp
|
||||||
|
- name: Set up ORAS
|
||||||
|
uses: oras-project/setup-oras@v1
|
||||||
- name: Push image to GHCR
|
- name: Push image to GHCR
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.GITHUB_TOKEN }}" | \
|
echo "${{ secrets.GITHUB_TOKEN }}" | \
|
||||||
|
|
3
.github/workflows/docker_build_radiusd.yml
vendored
3
.github/workflows/docker_build_radiusd.yml
vendored
|
@ -70,7 +70,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: radius-docker
|
name: radius-docker
|
||||||
path: /tmp
|
path: /tmp
|
||||||
|
- name: Set up ORAS
|
||||||
|
uses: oras-project/setup-oras@v1
|
||||||
# Docker won't directly import OCI images and keep their multi-arch
|
# Docker won't directly import OCI images and keep their multi-arch
|
||||||
# features, but ORAS will: https://oras.land/docs/commands/oras_copy
|
# features, but ORAS will: https://oras.land/docs/commands/oras_copy
|
||||||
- name: Push image to GHCR
|
- name: Push image to GHCR
|
||||||
|
|
Loading…
Reference in a new issue