Update docker repo name
This commit is contained in:
parent
2c14848354
commit
99ae58347d
1 changed files with 15 additions and 15 deletions
30
.github/workflows/docker-image-release.yml
vendored
30
.github/workflows/docker-image-release.yml
vendored
|
@ -25,28 +25,28 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# # Log in to Docker Hub
|
# Log in to Docker Hub
|
||||||
# - name: Log in to Docker Hub
|
- name: Log in to Docker Hub
|
||||||
# uses: docker/login-action@v2
|
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
|
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
username: ${{ github.repository_owner }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
# # 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
|
# Build and tag Docker image
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: |
|
run: |
|
||||||
docker build -t ${{ secrets.DOCKER_USERNAME }}/my-go-app:${{ github.sha }} .
|
docker build -t ${{ secrets.DOCKER_USERNAME }}/donetick:${{ github.sha }} .
|
||||||
|
|
||||||
# Push Docker image
|
# Push Docker image
|
||||||
- name: Push Docker image
|
- name: Push Docker image
|
||||||
run: |
|
run: |
|
||||||
docker push ${{ secrets.DOCKER_USERNAME }}/my-go-app:${{ github.sha }}
|
docker push ${{ secrets.DOCKER_USERNAME }}/donetick:${{ github.sha }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue