🐛 fix: github action
This commit is contained in:
parent
d5d601263b
commit
578c7422b0
4
.github/workflows/docker-image-en.yml
vendored
4
.github/workflows/docker-image-en.yml
vendored
@ -75,7 +75,7 @@ jobs:
|
|||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
username: ${{ env.DOCKER_HUB_USERNAME }}
|
username: ${{ vars.DOCKER_HUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_HUB_TOKEN }} # Replace with your Docker Hub password secret
|
password: ${{ secrets.DOCKER_HUB_TOKEN }} # Replace with your Docker Hub password secret
|
||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
@ -85,7 +85,7 @@ jobs:
|
|||||||
# list of Docker images to use as base name for tags
|
# list of Docker images to use as base name for tags
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ github.repository }}-en
|
ghcr.io/${{ github.repository }}-en
|
||||||
docker.io/${{ env.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_HUB_REPO_EN }}
|
docker.io/${{ vars.DOCKER_HUB_USERNAME }}/${{ vars.DOCKER_HUB_REPO_EN }}
|
||||||
# generate Docker tags based on the following events/attributes
|
# generate Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/main' }}
|
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/main' }}
|
||||||
|
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
@ -72,7 +72,7 @@ jobs:
|
|||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
username: ${{ env.DOCKER_HUB_USERNAME }}
|
username: ${{ vars.DOCKER_HUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_HUB_TOKEN }} # Replace with your Docker Hub password secret
|
password: ${{ secrets.DOCKER_HUB_TOKEN }} # Replace with your Docker Hub password secret
|
||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
@ -82,7 +82,7 @@ jobs:
|
|||||||
# list of Docker images to use as base name for tags
|
# list of Docker images to use as base name for tags
|
||||||
images: |
|
images: |
|
||||||
ghcr.io/${{ github.repository }}
|
ghcr.io/${{ github.repository }}
|
||||||
docker.io/${{ env.DOCKER_HUB_USERNAME }}/${{ env.DOCKER_HUB_REPO }}
|
docker.io/${{ vars.DOCKER_HUB_USERNAME }}/${{ vars.DOCKER_HUB_REPO }}
|
||||||
# generate Docker tags based on the following events/attributes
|
# generate Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/main' }}
|
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/main' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user