Add woodpecker pipe file - remove old
This commit is contained in:
parent
1d68048814
commit
4053055093
@ -1,17 +0,0 @@
|
|||||||
when:
|
|
||||||
- event: push
|
|
||||||
branch: master
|
|
||||||
|
|
||||||
steps:
|
|
||||||
build:
|
|
||||||
image: docker
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
environment:
|
|
||||||
IMAGE_NAME: gitea.b7d.nl/${CI_REPO_OWNER}/${CI_REPO_NAME}
|
|
||||||
commands:
|
|
||||||
- docker login gitea.b7d.nl -u $GITEA_USER -p $GITEA_TOKEN
|
|
||||||
- docker build -t $IMAGE_NAME:$CI_COMMIT_SHA -f Dockerfile-prod .
|
|
||||||
- docker tag $IMAGE_NAME:$CI_COMMIT_SHA $IMAGE_NAME:latest
|
|
||||||
- docker push $IMAGE_NAME:$CI_COMMIT_SHA
|
|
||||||
- docker push $IMAGE_NAME:latest
|
|
||||||
Loading…
x
Reference in New Issue
Block a user