Skip to content

Commit 045b0ed

Browse files
committed
chore: publish image to Dockerhub
1 parent 6429439 commit 045b0ed

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
registry: docker.pkg.github.com
1919
username: ${{ github.actor }}
2020
password: ${{ secrets.GITHUB_TOKEN }}
21+
- name: Login to DockerHub
22+
uses: docker/login-action@v1
23+
with:
24+
username: ${{ secrets.DOCKERHUB_USERNAME }}
25+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2126
- name: Build and push
2227
id: docker_build
2328
uses: docker/build-push-action@v2
@@ -26,5 +31,5 @@ jobs:
2631
tags: |
2732
docker.pkg.github.com/${{ github.repository }}/columbus:latest
2833
docker.pkg.github.com/${{ github.repository }}/columbus:${{ steps.get_version.outputs.version-without-v }}
29-
- name: Image digest
30-
run: echo ${{ steps.docker_build.outputs.digest }}
34+
odpf/shield:latest
35+
odpf/shield:${{ steps.get_version.outputs.version-without-v }}

0 commit comments

Comments
 (0)