Skip to content

Commit

Permalink
Leverage up-to-date Docker actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenisanerd committed Feb 12, 2024
1 parent ddca6a4 commit 113b502
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@ jobs:
pre-release-docker:
name: "Pre Release Docker"
runs-on: "ubuntu-latest"


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

-
name: Docker meta
id: meta
Expand All @@ -33,20 +27,15 @@ jobs:
type=ref,event=tag
type=ref,event=branch
- uses: docker/setup-qemu-action@v1

- uses: docker/setup-buildx-action@v1

- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: "${{ secrets.DOCKER_HUB_USER }}"
password: "${{ secrets.DOCKER_HUB_TOKEN }}"

- name: "Build and push docker image"
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 113b502

Please sign in to comment.