Skip to content

Commit

Permalink
Update dockerhub.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Neilpang authored Jan 10, 2025
1 parent 298b94b commit d37767d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push the Debian based image
id: docker_build_debian
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
file: Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/s390x
Expand Down Expand Up @@ -74,20 +74,20 @@ jobs:
flavor: latest=false

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push the Alpine based image
id: docker_build_alpine
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
file: Dockerfile.alpine
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/s390x
Expand Down

0 comments on commit d37767d

Please sign in to comment.