Browse Source

Expand all TAG environment variables

latest
Alexander Jung 2 years ago
parent
commit
1d5765de87
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      .ci/drone.yml

+ 3
- 4
.ci/drone.yml View File

@@ -21,13 +21,12 @@ steps:
from_secret: DOCKER_REGISTRY
DOCKER_NAMESPACE:
from_secret: DOCKER_NAMESPACE
TAG: $DRONE_COMMIT_BRANCH
commands:
- apk --no-cache add make git
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD" $DOCKER_REGISTRY
- docker pull $DOCKER_REGISTRY/$DOCKER_NAMESPACE:$TAG || true
- make QEMU_VER=3.0.0 TAG=$TAG container
- docker push $DOCKER_REGISTRY/$DOCKER_NAMESPACE:$TAG
- docker pull $DOCKER_REGISTRY/$DOCKER_NAMESPACE:$DRONE_COMMIT_BRANCH || true
- make QEMU_VER=3.0.0 TAG=$DRONE_COMMIT_BRANCH container
- docker push $DOCKER_REGISTRY/$DOCKER_NAMESPACE:$DRONE_COMMIT_BRANCH

volumes:
- name: docker


Loading…
Cancel
Save