File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -56,23 +56,27 @@ jobs:
56
56
steps :
57
57
- name : Checkout
58
58
uses : actions/checkout@v2
59
+ - name : Docker meta
60
+ id : meta
61
+ uses : docker/metadata-action@v3
62
+ with :
63
+ images : pioro/dxtoolkit
59
64
- name : Set up QEMU
60
65
uses : docker/setup-qemu-action@v1
61
66
- name : Set up Docker Buildx
62
67
uses : docker/setup-buildx-action@v1
63
- # -
64
- # name: Login to DockerHub
65
- # uses: docker/login-action@v1
66
- # with:
67
- # username: "foo"
68
- # password: ${{ secrets.DOCKERHUB_TOKEN }}
68
+ - name : Login to DockerHub
69
+ uses : docker/login-action@v1
70
+ with :
71
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
72
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
69
73
- name : Build and push
70
74
id : docker_build
71
75
uses : docker/build-push-action@v2
72
76
with :
73
77
context : docker/
74
- push : false
75
- tags : pioro/dxtoolkit:latest
78
+ push : true
79
+ tags : ${{ steps.meta.outputs.tags }}
76
80
77
81
78
82
You can’t perform that action at this time.
0 commit comments