--- kind: pipeline type: docker name: default steps: - name: build docker image image: plugins/docker environment: DOCKER_BUILDKIT: '1' settings: purge: true repo: otakukaze/golang-base-image tags: - "${DRONE_BRANCH}" username: otakukaze password: from_secret: password build_args: - "IMG_TAG=${DRONE_BRANCH}" when: ref: - refs/heads/1-alpine