diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 158d68b..a8ae2a0 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -26,7 +26,7 @@ steps: image: docker commands: - "docker login git.snyman.info -u $DOCKER_USERNAME -p $DOCKER_TOKEN" - - "docker build -t git.snyman.info/codesmidgen:nightly -t git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8} ." + - "docker build -t git.snyman.info/codesmidgen:nightly -t git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8} f Dockerfile.nightly ." - "docker push git.snyman.info/codesmidgen:nightly" - "docker push git.snyman.info/codesmidgen:${CI_COMMIT_SHA:0:8}" volumes: @@ -41,7 +41,7 @@ steps: image: docker commands: - "docker login git.snyman.info -u $DOCKER_USERNAME -p $DOCKER_TOKEN" - - "docker build -t git.snyman.info/codesmidgen:latest -t git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v} ." + - "docker build -t git.snyman.info/codesmidgen:latest -t git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v} -f Dockerfile.release ." - "docker push git.snyman.info/codesmidgen:latest" - "docker push git.snyman.info/codesmidgen:${CI_COMMIT_TAG##v}" volumes: