File tree Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Original file line number Diff line number Diff line change 31
31
tag : ${{ github.ref }}
32
32
overwrite : true
33
33
file_glob : true
34
-
35
- docker_build :
36
- runs-on : ubuntu-22.04
37
- name : Docker Build
38
-
39
- steps :
40
- - uses : actions/checkout@v4
41
- with :
42
- fetch-depth : 0
43
-
44
- - name : Generate image tags
45
- shell : bash
46
- run : echo "tags=quay.io/rebuy/aws-nuke:${GITHUB_REF#refs/tags/},docker.io/rebuy/aws-nuke:${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
47
- id : generate_tags
48
-
49
- - name : Set up QEMU
50
- id : qemu
51
- uses : docker/setup-qemu-action@v2
52
- with :
53
- platforms : arm64
54
-
55
- - name : Set up Docker Buildx
56
- uses : docker/setup-buildx-action@v2
57
- with :
58
- install : true
59
-
60
- - name : Login to Docker Hub
61
- uses : docker/login-action@v2
62
- with :
63
- username : ${{ secrets.DOCKER_USERNAME }}
64
- password : ${{ secrets.DOCKER_PASSWORD }}
65
-
66
- - name : Login to Quay.io
67
- uses : docker/login-action@v2
68
- with :
69
- registry : quay.io
70
- username : ${{ secrets.QUAY_USERNAME }}
71
- password : ${{ secrets.QUAY_PASSWORD }}
72
-
73
- - name : Build and push
74
- uses : docker/build-push-action@v3
75
- with :
76
- context : .
77
- push : true
78
- tags : ${{ steps.generate_tags.outputs.tags }}
79
- platforms : linux/amd64,linux/arm64
You can’t perform that action at this time.
0 commit comments