diff --git a/.drone.yml b/.drone.yml index dd6e135..17dd34d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,10 +12,10 @@ steps: - name: dockersock path: /var/run commands: - - apk add git docker make jq + - apk add git docker make - mkdir $HOME/.docker/ - echo "$GITEA_DOCKER_REGISTRY_TOKEN" > $HOME/.docker/config.json - - cat ~/.docker/config.json|jq ".auths|keys" + - make debug - make docker environment: GITEA_DOCKER_REGISTRY_TOKEN: diff --git a/Dockerfile b/Dockerfile index 6f8eeb4..193c4af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,5 @@ RUN make build-alpine FROM alpine:latest RUN apk --no-cache add ca-certificates ARG VERSION=* -COPY --from=builder /opt/obp/dist/obp-*-alpine_amd64/obp /bin/obp +COPY --from=builder /opt/obp/dist/obp-$VERSION-alpine_amd64/obp /bin/obp RUN chmod +x /bin/obp