aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-09-05 22:05:36 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-09-05 22:05:36 -0400
commit65aece2cd602f38f49cdc0efc2f65a87d4d525e9 (patch)
treecec0b480da11b57522b35d7a65b76eb47ece6372 /.github/workflows
parent575742e63f79ff6a954e9031070bf997e9b4d2ef (diff)
downloaddonetick-65aece2cd602f38f49cdc0efc2f65a87d4d525e9.tar.gz
donetick-65aece2cd602f38f49cdc0efc2f65a87d4d525e9.tar.bz2
donetick-65aece2cd602f38f49cdc0efc2f65a87d4d525e9.zip
Update docker repo name
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docker-image-release.yml30
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 }}