|
@@ -28,20 +28,20 @@ jobs:
|
|
type=semver,pattern={{major}}.{{minor}}
|
|
type=semver,pattern={{major}}.{{minor}}
|
|
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
|
|
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
|
|
- name: Set up QEMU
|
|
- name: Set up QEMU
|
|
- uses: docker/setup-qemu-action@v1
|
|
|
|
|
|
+ uses: docker/setup-qemu-action@v3
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
- name: Set up Docker Buildx
|
|
- uses: docker/setup-buildx-action@v1
|
|
|
|
|
|
+ uses: docker/setup-buildx-action@v3
|
|
|
|
|
|
- name: Login to DockerHub
|
|
- name: Login to DockerHub
|
|
- uses: docker/login-action@v1
|
|
|
|
|
|
+ uses: docker/login-action@v3
|
|
with:
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
- name: Build and push the Debian based image
|
|
- name: Build and push the Debian based image
|
|
id: docker_build_debian
|
|
id: docker_build_debian
|
|
- uses: docker/build-push-action@v2
|
|
|
|
|
|
+ uses: docker/build-push-action@v6
|
|
with:
|
|
with:
|
|
file: Dockerfile
|
|
file: Dockerfile
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/s390x
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/s390x
|
|
@@ -74,20 +74,20 @@ jobs:
|
|
flavor: latest=false
|
|
flavor: latest=false
|
|
|
|
|
|
- name: Set up QEMU
|
|
- name: Set up QEMU
|
|
- uses: docker/setup-qemu-action@v1
|
|
|
|
|
|
+ uses: docker/setup-qemu-action@v3
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
- name: Set up Docker Buildx
|
|
- uses: docker/setup-buildx-action@v1
|
|
|
|
|
|
+ uses: docker/setup-buildx-action@v3
|
|
|
|
|
|
- name: Login to DockerHub
|
|
- name: Login to DockerHub
|
|
- uses: docker/login-action@v1
|
|
|
|
|
|
+ uses: docker/login-action@v3
|
|
with:
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
|
|
- name: Build and push the Alpine based image
|
|
- name: Build and push the Alpine based image
|
|
id: docker_build_alpine
|
|
id: docker_build_alpine
|
|
- uses: docker/build-push-action@v2
|
|
|
|
|
|
+ uses: docker/build-push-action@v6
|
|
with:
|
|
with:
|
|
file: Dockerfile.alpine
|
|
file: Dockerfile.alpine
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/s390x
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/s390x
|