diff --git a/.drone.yml b/.drone.yml index 3cccee4..e796367 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,11 @@ kind: pipeline type: docker name: default +trigger: + ref: + - refs/heads/** + - refs/tags/v* + steps: - name: build_base image: gcr.io/kaniko-project/executor:debug @@ -19,6 +24,8 @@ steps: - echo "{\"auths\":{\"$REGISTRY_HOST\":{\"username\":\"$REGISTRY_USERNAME\",\"password\":\"$REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - export DESTINATION="$${DESTINATION_PREFIX}:$${DRONE_TAG:-$DRONE_COMMIT_BRANCH}" - echo "pushing to $DESTINATION" + - pwd + - ls when: ref: - refs/heads/main