File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -23,19 +23,29 @@ jobs:
23
23
run : npm run test:integration
24
24
25
25
build :
26
- runs-on : ubuntu-20.04
26
+ runs-on : ubuntu-latest
27
27
steps :
28
28
- name : Checkout
29
29
uses : actions/checkout@v4
30
30
31
- - name : Log in to Docker Hub
32
- uses : docker/login-action@v2
31
+ - name : Set up QEMU
32
+ uses : docker/setup-qemu-action@v3
33
+
34
+ - name : Set up Docker Buildx
35
+ uses : docker/setup-buildx-action@v3
36
+
37
+ - name : Login to Docker Hub
38
+ uses : docker/login-action@v3
33
39
with :
34
40
username : ${{ secrets.DOCKER_HUB_USERNAME }}
35
41
password : ${{ secrets.DOCKER_HUB_PASSWORD }}
36
42
37
43
- name : Build and push app Docker image
38
- uses : docker/build-push-action@v2
44
+ uses : docker/build-push-action@v5
39
45
with :
40
46
context : .
41
- tags : rerorerio8/queue-manager
47
+ tags : rerorerio8/queue-manager:latest
48
+ push : ${{ github.event_name != 'pull_request' }}
49
+ cache-from : type=gha
50
+ cache-to : type=gha,mode=max
51
+ platforms : linux/amd64,linux/arm64,linux/arm/v7
You can’t perform that action at this time.
0 commit comments