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-05 22:05:36 -0400 |
commit | 65aece2cd602f38f49cdc0efc2f65a87d4d525e9 (patch) | |
tree | cec0b480da11b57522b35d7a65b76eb47ece6372 /.github/workflows | |
parent | 575742e63f79ff6a954e9031070bf997e9b4d2ef (diff) | |
download | donetick-65aece2cd602f38f49cdc0efc2f65a87d4d525e9.tar.gz donetick-65aece2cd602f38f49cdc0efc2f65a87d4d525e9.tar.bz2 donetick-65aece2cd602f38f49cdc0efc2f65a87d4d525e9.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 }} |