Skip to content

Commit 4da0837

Browse files
author
Amit Kumar Das
authored
fix(build): add latest tag during docker push (#167)
Signed-off-by: AmitKumarDas <[email protected]>
1 parent 116b864 commit 4da0837

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/release-docker.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,14 @@ jobs:
1919
repository: mayadataio/dope
2020
tag_with_ref: true
2121
add_git_labels: true
22-
2322
release-docker-daction:
2423
name: Release docker daction image
2524
runs-on: ubuntu-18.04
2625
steps:
2726
- name: Checkout Code
2827
uses: actions/checkout@v2
29-
3028
- name: Login to DockerHub
3129
run: cd tools/d-action
32-
3330
- name: Build push daction image
3431
uses: docker/build-push-action@v1
3532
with:

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ image:
4444

4545
.PHONY: push
4646
push: image
47-
docker push $(IMG_REPO)
47+
docker push $(IMG_REPO):$(PACKAGE_VERSION)
48+
docker push $(IMG_REPO):latest

tools/d-action/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ image:
4444

4545
.PHONY: push
4646
push: image
47-
docker push $(IMG_REPO)
47+
docker push $(IMG_REPO):$(PACKAGE_VERSION)
48+
docker push $(IMG_REPO):latest

0 commit comments

Comments
 (0)