Update dockerhub.yml

This commit is contained in:
tomo 2024-09-15 17:08:09 +02:00
parent b6f7710621
commit 522c953860
No known key found for this signature in database
GPG Key ID: 5FB8BCB7CE54EE44

View File

@ -51,7 +51,7 @@ jobs:
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: build and push the image - name: build and push the image
run: | run: |
DOCKER_IMAGE=${{ secrets.DOCKER_USERNAME }}/acme.sh DOCKER_IMAGE=neilpang/acme.sh
if [[ $GITHUB_REF == refs/tags/* ]]; then if [[ $GITHUB_REF == refs/tags/* ]]; then
DOCKER_IMAGE_TAG=${GITHUB_REF#refs/tags/} DOCKER_IMAGE_TAG=${GITHUB_REF#refs/tags/}