Update .gitea/workflows/build-docker.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 14s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 14s
This commit is contained in:
@@ -10,15 +10,14 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- run: echo "Logging in as ${{ env.GITEA_REGISTRY_USER }}."
|
|
||||||
- name: Log in to registry
|
- name: Log in to registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.GITEA_DOMAIN }}
|
registry: ${{ vars.GITEA_DOMAIN }}
|
||||||
username: ${{ env.GITEA_REGISTRY_USER }}
|
username: ${{ vars.GITEA_REGISTRY_USER }}
|
||||||
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }}
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ env.GITEA_DOMAIN }}/${{ env.RESULT_IMAGE_NAME }}:${{ gitea.ref }}
|
tags: ${{ vars.GITEA_DOMAIN }}/${{ vars.RESULT_IMAGE_NAME }}:${{ gitea.ref }}
|
||||||
Reference in New Issue
Block a user