From 65aece2cd602f38f49cdc0efc2f65a87d4d525e9 Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Thu, 5 Sep 2024 22:05:36 -0400 Subject: Update docker repo name --- .github/workflows/docker-image-release.yml | 30 +++++++++++++++--------------- 1 file 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 }} -- cgit