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
|
||||
fi
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to ghcr.io
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.PACKAGE_DEPLOY_USER }}
|
||||
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
|
||||
- name: Build kas image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ env.PUSH_MASTER }}
|
||||
tags: ghcr.io/siemens/kas/kas
|
||||
- name: Build kas-isar image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
target: kas-isar
|
||||
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
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to ghcr.io
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.PACKAGE_DEPLOY_USER }}
|
||||
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
|
||||
- name: Build kas image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
load: true
|
||||
tags: ghcr.io/siemens/kas/kas:next
|
||||
@ -88,13 +88,13 @@ jobs:
|
||||
cd image-tests/poky
|
||||
KAS_IMAGE_VERSION=next ../../kas-container build kas.yml
|
||||
- name: Complete build and deploy kas image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
tags: ghcr.io/siemens/kas/kas:next
|
||||
push: true
|
||||
- name: Build kas-isar image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
target: kas-isar
|
||||
load: true
|
||||
@ -104,7 +104,7 @@ jobs:
|
||||
cd image-tests/isar
|
||||
KAS_IMAGE_VERSION=next ../../kas-container build kas.yml
|
||||
- name: Complete build and deploy kas-isar image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
target: kas-isar
|
||||
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
|
||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to ghcr.io
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ secrets.PACKAGE_DEPLOY_USER }}
|
||||
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }}
|
||||
- name: Build kas image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
@ -34,7 +34,7 @@ jobs:
|
||||
ghcr.io/siemens/kas/kas:${{ env.RELEASE_VERSION }}
|
||||
ghcr.io/siemens/kas/kas:latest-release
|
||||
- name: Build kas-isar image
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
target: kas-isar
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
Loading…
Reference in New Issue
Block a user