Update .gitea/workflows/build-image.yml
Some checks failed
Image Build / init (push) Successful in 7s
Image Build / iventoy image (push) Failing after 2s

This commit is contained in:
Sthope 2024-04-23 20:04:25 +02:00
parent b1dfb10ffb
commit 656d7b1149

View File

@ -48,7 +48,7 @@ jobs:
echo "Checkout repository"
- name: Login to Docker Hub
run: |
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_TOKEN
echo "${DOCKERHUB_TOKEN}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
- name: Build and push
run: |
docker build -t $DOCKERHUB_USERNAME/${GITEA_REPOSITORY_NAME}:${GITEA_IVENTOY} --build-arg IVENTOY=$GITEA_IVENTOY .