Skip to content

Commit

Permalink
chore: update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt committed Jun 26, 2024
1 parent 1da505f commit 418f8a8
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,30 +121,23 @@ jobs:
runs-on: ubuntu-latest
needs: [ go-binaries ]
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
- name: Download go-binary artifact
uses: actions/download-artifact@v4
with:
name: binaries
path: build-artifacts
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
push: true
tags: aoepeople/vistecture:${{ github.ref }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
platforms: linux/amd64,linux/arm64

0 comments on commit 418f8a8

Please sign in to comment.