Skip to content

Commit

Permalink
Remove old pipeline code - goreleaser working well
Browse files Browse the repository at this point in the history
  • Loading branch information
carldanley committed Nov 19, 2022
1 parent 5857372 commit 7c389e5
Showing 1 changed file with 0 additions and 41 deletions.
41 changes: 0 additions & 41 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,47 +26,6 @@ steps:
- golangci-lint --version
- golangci-lint run

# - name: build
# image: golang:alpine
# environment:
# GITHUB_TOKEN:
# from_secret: github-pat-packages
# commands:
# - apk add git
# - git version
# - git fetch --tags
# - go install github.com/goreleaser/goreleaser@latest
# - goreleaser --version
# - goreleaser release --rm-dist -f ./.goreleaser.yml
# when:
# ref:
# - refs/tags/*
# depends_on:
# - lint

# - name: publish-container
# image: plugins/docker
# settings:
# repo: ghcr.io/carldanley/ha-fpp-mqtt
# registry: ghcr.io
# auto_tag: true
# username:
# from_secret: github-username
# password:
# from_secret: github-pat-packages
# build_args:
# - COMMIT_SHA=${DRONE_COMMIT_SHA}
# - COMMIT_AUTHOR_EMAIL=${DRONE_COMMIT_AUTHOR_EMAIL}
# platform: linux/amd64
# custom_labels:
# - org.opencontainers.image.created=${DRONE_BUILD_CREATED}
# - org.opencontainers.image.name=${DRONE_REPO_NAME}
# - org.opencontainers.image.revision=${DRONE_COMMIT_SHA}
# - org.opencontainers.image.version=${DRONE_TAG}
# - org.opencontainers.image.source=${DRONE_REPO_LINK}
# - org.opencontainers.image.licenses=MIT
# - VERSION=${DRONE_TAG}

- name: build-and-publish
image: goreleaser/goreleaser
environment:
Expand Down

0 comments on commit 7c389e5

Please sign in to comment.