Skip to content

Commit 799135f

Browse files
author
Marcin Przepiorowski
committed
docker
1 parent 3fc5227 commit 799135f

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.github/workflows/develop.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,23 +56,27 @@ jobs:
5656
steps:
5757
- name: Checkout
5858
uses: actions/checkout@v2
59+
- name: Docker meta
60+
id: meta
61+
uses: docker/metadata-action@v3
62+
with:
63+
images: pioro/dxtoolkit
5964
- name: Set up QEMU
6065
uses: docker/setup-qemu-action@v1
6166
- name: Set up Docker Buildx
6267
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 }}
6973
- name: Build and push
7074
id: docker_build
7175
uses: docker/build-push-action@v2
7276
with:
7377
context: docker/
74-
push: false
75-
tags: pioro/dxtoolkit:latest
78+
push: true
79+
tags: ${{ steps.meta.outputs.tags }}
7680

7781

7882

0 commit comments

Comments
 (0)