Update .gitea/workflows/image-publish.yml
Some checks failed
Build and Push Docker Image / docker (push) Failing after 29s
Some checks failed
Build and Push Docker Image / docker (push) Failing after 29s
This commit is contained in:
@@ -26,7 +26,7 @@ jobs:
|
||||
- name: Login to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ github.server_url }}
|
||||
registry: git.harryesses.com
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
@@ -38,19 +38,19 @@ jobs:
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build \
|
||||
-t ${{ github.server_url }}/${IMAGE_NAME}:latest \
|
||||
-t ${{ github.server_url }}/${IMAGE_NAME}:${SHORT_SHA} \
|
||||
-t ${{ github.server_url }}/${IMAGE_NAME}:${BUILD_DATE} \
|
||||
-t git.harryesses.com/${IMAGE_NAME}:latest \
|
||||
-t git.harryesses.com/${IMAGE_NAME}:${SHORT_SHA} \
|
||||
-t git.harryesses.com/${IMAGE_NAME}:${BUILD_DATE} \
|
||||
.
|
||||
|
||||
- name: Push latest tag
|
||||
run: |
|
||||
docker push ${{ github.server_url }}/${IMAGE_NAME}:latest
|
||||
docker push git.harryesses.com/${IMAGE_NAME}:latest
|
||||
|
||||
- name: Push commit hash tag
|
||||
run: |
|
||||
docker push ${{ github.server_url }}/${IMAGE_NAME}:${SHORT_SHA}
|
||||
docker push git.harryesses.com/${IMAGE_NAME}:${SHORT_SHA}
|
||||
|
||||
- name: Push datetime tag
|
||||
run: |
|
||||
docker push ${{ github.server_url }}/${IMAGE_NAME}:${BUILD_DATE}
|
||||
docker push git.harryesses.com/${IMAGE_NAME}:${BUILD_DATE}
|
||||
Reference in New Issue
Block a user