Skip to content

Commit 5922fc6

Browse files
committed
Merge branch 'joao-zanutto-patch-1'
2 parents 805fc70 + 342b9db commit 5922fc6

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/docker.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Docker Build and Push
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
8+
concurrency:
9+
group: "docker-image"
10+
cancel-in-progress: false
11+
12+
jobs:
13+
docker:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up QEMU
19+
uses: docker/setup-qemu-action@v3
20+
21+
- name: Set up Docker Buildx
22+
uses: docker/setup-buildx-action@v3
23+
24+
25+
- name: Log in to Docker Hub
26+
uses: docker/login-action@v3
27+
with:
28+
username: ${{ github.actor }}
29+
password: ${{ secrets.GH_TOKEN }}
30+
31+
- name: Build and push
32+
uses: docker/build-push-action@v5
33+
with:
34+
push: true
35+
tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ github.ref_name }}
36+
platforms: linux/amd64,linux/arm64
37+

0 commit comments

Comments
 (0)