Skip to content

Commit

Permalink
Only use goreleaser for docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Petrausch committed Oct 19, 2020
1 parent 004444a commit 0958d4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
run: go test ./...
- name: Vet
run: go vet ./...
# Release docker file
- name: Build the Docker image
run: docker build -t docker.pkg.github.com/hikhvar/mqtt2prometheus/mqtt2prometheus:latest -t docker.pkg.github.com/hikhvar/mqtt2prometheus/mqtt2prometheus:${GITHUB_REF##*/} .
# Login to the registries
- name: Login to Github Packages
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
- name: Login to Dockerhub
Expand Down

0 comments on commit 0958d4c

Please sign in to comment.