add tag only
This commit is contained in:
parent
223a030cd4
commit
5c7e51ed37
@ -17,16 +17,3 @@ jobs:
|
|||||||
id: meta
|
id: meta
|
||||||
with:
|
with:
|
||||||
images: ${{ vars.CONTAINER_REGISTRY }}/${{ gitea.repository }}
|
images: ${{ vars.CONTAINER_REGISTRY }}/${{ gitea.repository }}
|
||||||
- uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: ${{ vars.CONTAINER_REGISTRY }}
|
|
||||||
username: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
|
|
||||||
password: ${{ secrets.password }}
|
|
||||||
- name: Push tags
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
DOCKER_IMAGE: ${{ vars.CONTAINER_REGISTRY }}/${{ gitea.repository }}
|
|
||||||
run: |
|
|
||||||
docker tag $DOCKER_IMAGE:main $DOCKER_IMAGE:latest
|
|
||||||
docker tag $DOCKER_IMAGE:main $DOCKER_IMAGE:${{ steps.meta.outputs.version }}
|
|
||||||
docker push -a $DOCKER_IMAGE
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user