Update .gitea/workflows/build-image.yml
This commit is contained in:
parent
b1dfb10ffb
commit
656d7b1149
@ -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 .
|
||||
|
Loading…
x
Reference in New Issue
Block a user