woodpecker-test #1
1 changed files with 0 additions and 1 deletions
|
@ -4,7 +4,6 @@ steps:
|
|||
commands:
|
||||
- docker login docker.io -u $${DOCKERHUB_USERNAME} -p $${DOCKERHUB_PASSWORD}
|
||||
- docker build --rm=true -f Dockerfile -t $${CI_COMMIT_REF} .
|
||||
- docker push $${DOCKERHUB_USERNAME}/$${CI_REPO_NAME}:$${CI_COMMIT_REF}
|
||||
- docker tag $${CI_COMMIT_REF} $${DOCKERHUB_USERNAME}/$${CI_REPO_NAME}:latest
|
||||
- docker push $${DOCKERHUB_USERNAME}/$${CI_REPO_NAME}:latest
|
||||
secrets: [ dockerhub_username, dockerhub_password ]
|
||||
|
|
Loading…
Reference in a new issue