1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-14 01:54:07 +02:00

Update docker workflow

Use DOCKERHUB_USERNAME when tagging an image
This commit is contained in:
Hugo Lindström
2019-12-24 13:28:12 +08:00
committed by GitHub
parent 130f4193af
commit 343bc93f3b

View File

@@ -13,6 +13,6 @@ jobs:
- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
- name: Build the Docker image
run: cd Docker && docker build . --file Dockerfile --tag ubuntu:latest
run: cd Docker && docker build . --file Dockerfile --tag ${{ secrets.DOCKERHUB_USERNAME }}/ubuntu:latest
- name: Push the latest Docker image
run: docker push tomahawkmusicplayer/ubuntu:latest
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/ubuntu:latest