diff options
author | Mo Tarbin <mhed.t91@gmail.com> | 2024-09-05 22:05:36 -0400 |
---|---|---|
committer | Mo Tarbin <mhed.t91@gmail.com> | 2024-09-06 01:13:29 -0400 |
commit | 99ae58347de20891bb9463aa197be83f2334355c (patch) | |
tree | cec0b480da11b57522b35d7a65b76eb47ece6372 | |
parent | 2c148483548b262d72065d691b4f5e457ea3d91f (diff) | |
download | donetick-99ae58347de20891bb9463aa197be83f2334355c.tar.gz donetick-99ae58347de20891bb9463aa197be83f2334355c.tar.bz2 donetick-99ae58347de20891bb9463aa197be83f2334355c.zip |
Update docker repo name
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/docker-image-release.yml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/.github/workflows/docker-image-release.yml b/.github/workflows/docker-image-release.yml index 46c953b..1067b69 100644 --- a/.github/workflows/docker-image-release.yml +++ b/.github/workflows/docker-image-release.yml @@ -25,28 +25,28 @@ jobs: - # # Log in to Docker Hub - # - name: Log in to Docker Hub - # uses: docker/login-action@v2 - # with: - # username: ${{ secrets.DOCKER_USERNAME }} - # password: ${{ secrets.DOCKER_PASSWORD }} - - # Log in to GitHub Container Registry - - name: Login to GitHub Container Registry - uses: docker/login-action@v3.3.0 + # Log in to Docker Hub + - name: Log in to Docker Hub + uses: docker/login-action@v2 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + + # # Log in to GitHub Container Registry + # - name: Login to GitHub Container Registry + # uses: docker/login-action@v3.3.0 + # with: + # registry: ghcr.io + # username: ${{ github.repository_owner }} + # password: ${{ secrets.GITHUB_TOKEN }} # Build and tag Docker image - name: Build Docker image run: | - docker build -t ${{ secrets.DOCKER_USERNAME }}/my-go-app:${{ github.sha }} . + docker build -t ${{ secrets.DOCKER_USERNAME }}/donetick:${{ github.sha }} . # Push Docker image - name: Push Docker image run: | - docker push ${{ secrets.DOCKER_USERNAME }}/my-go-app:${{ github.sha }} + docker push ${{ secrets.DOCKER_USERNAME }}/donetick:${{ github.sha }} |