--- 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}" when: ref: - refs/heads/1-alpine