Skip to content

Commit

Permalink
Update Docker actions versions and add support for additional platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
minpeter committed Mar 13, 2024
1 parent b9d52f2 commit 3230046
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dh-image-bp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

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

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

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

- name: Build and push with Buildx
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/arm64, linux/amd64, linux/386
platforms: linux/arm64, linux/amd64, linux/386, linux/arm/v7, linux/arm64/v8
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/iplogger:latest

0 comments on commit 3230046

Please sign in to comment.