ci: Update docker actions
Silences lots of deprecation warnings. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
f3521f82fa
commit
e9fac8dda7
10
.github/workflows/master.yml
vendored
10
.github/workflows/master.yml
vendored
@ -23,23 +23,23 @@ jobs:
|
|||||||
echo "PUSH_MASTER=true" >> $GITHUB_ENV
|
echo "PUSH_MASTER=true" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Login to ghcr.io
|
- name: Login to ghcr.io
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.PACKAGE_DEPLOY_USER }}
|
username: ${{ secrets.PACKAGE_DEPLOY_USER }}
|
||||||
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
|
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
|
||||||
- name: Build kas image
|
- name: Build kas image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: ${{ env.PUSH_MASTER }}
|
push: ${{ env.PUSH_MASTER }}
|
||||||
tags: ghcr.io/siemens/kas/kas
|
tags: ghcr.io/siemens/kas/kas
|
||||||
- name: Build kas-isar image
|
- name: Build kas-isar image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
target: kas-isar
|
target: kas-isar
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
14
.github/workflows/next.yml
vendored
14
.github/workflows/next.yml
vendored
@ -69,17 +69,17 @@ jobs:
|
|||||||
- name: Check out repo
|
- name: Check out repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Login to ghcr.io
|
- name: Login to ghcr.io
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.PACKAGE_DEPLOY_USER }}
|
username: ${{ secrets.PACKAGE_DEPLOY_USER }}
|
||||||
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
|
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
|
||||||
- name: Build kas image
|
- name: Build kas image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
load: true
|
load: true
|
||||||
tags: ghcr.io/siemens/kas/kas:next
|
tags: ghcr.io/siemens/kas/kas:next
|
||||||
@ -88,13 +88,13 @@ jobs:
|
|||||||
cd image-tests/poky
|
cd image-tests/poky
|
||||||
KAS_IMAGE_VERSION=next ../../kas-container build kas.yml
|
KAS_IMAGE_VERSION=next ../../kas-container build kas.yml
|
||||||
- name: Complete build and deploy kas image
|
- name: Complete build and deploy kas image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ghcr.io/siemens/kas/kas:next
|
tags: ghcr.io/siemens/kas/kas:next
|
||||||
push: true
|
push: true
|
||||||
- name: Build kas-isar image
|
- name: Build kas-isar image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
target: kas-isar
|
target: kas-isar
|
||||||
load: true
|
load: true
|
||||||
@ -104,7 +104,7 @@ jobs:
|
|||||||
cd image-tests/isar
|
cd image-tests/isar
|
||||||
KAS_IMAGE_VERSION=next ../../kas-container build kas.yml
|
KAS_IMAGE_VERSION=next ../../kas-container build kas.yml
|
||||||
- name: Complete build and deploy kas-isar image
|
- name: Complete build and deploy kas-isar image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
target: kas-isar
|
target: kas-isar
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -15,17 +15,17 @@ jobs:
|
|||||||
- name: Get release
|
- name: Get release
|
||||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v2
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v2
|
||||||
- name: Login to ghcr.io
|
- name: Login to ghcr.io
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ secrets.PACKAGE_DEPLOY_USER }}
|
username: ${{ secrets.PACKAGE_DEPLOY_USER }}
|
||||||
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
|
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
|
||||||
- name: Build kas image
|
- name: Build kas image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
@ -34,7 +34,7 @@ jobs:
|
|||||||
ghcr.io/siemens/kas/kas:${{ env.RELEASE_VERSION }}
|
ghcr.io/siemens/kas/kas:${{ env.RELEASE_VERSION }}
|
||||||
ghcr.io/siemens/kas/kas:latest-release
|
ghcr.io/siemens/kas/kas:latest-release
|
||||||
- name: Build kas-isar image
|
- name: Build kas-isar image
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
target: kas-isar
|
target: kas-isar
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user