Skip to content

Commit

Permalink
Revert "Create Docker image"
Browse files Browse the repository at this point in the history
This reverts commit 859c98e.
  • Loading branch information
frankywahl committed Oct 19, 2021
1 parent 11ae8e0 commit ff809c2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 51 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,6 @@ jobs:
go mod download
go mod tidy -v
- name: Login Github Container Registry
run: echo "${{ secrets.GORELEASER_GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Set SOURCE Environment Variable
run: |
echo 'SOURCE<<EOF' >> $GITHUB_ENV
echo ${GITHUB_SERVER_URL}/${{ github.repository }} >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
23 changes: 0 additions & 23 deletions .goreleaser.Dockerfile

This file was deleted.

17 changes: 0 additions & 17 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,3 @@ changelog:
exclude:
- '^docs:'
- '^test:'

dockers:
-
goos: linux
goarch: amd64
ids:
- biscuit
image_templates:
- "ghcr.io/dcoker/biscuit:latest"
- "ghcr.io/dcoker/biscuit:{{ .Tag }}"
dockerfile: .goreleaser.Dockerfile
build_flag_templates:
- "--pull"
- "--build-arg=REVISION={{.FullCommit}}"
- "--build-arg=SOURCE={{.Env.SOURCE}}"
- "--build-arg=BUILD_VERSION={{.Version}}"
- "--build-arg=BUILD_DATE={{.Date}}"
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ PKG := ./...
TESTS := ".*"
GOIMPORTS := goimports
VERSION ?= $(shell git describe --long --tags --always)
SOURCE ?= $(shell pwd)

.PHONY: build
$(GO) install $(GOVERSIONLDFLAG) $(GOFLAGS)
Expand Down Expand Up @@ -38,7 +37,6 @@ goreleaser-test:
-v $(shell pwd):/go/src/github.com/dcoker/biscuit \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /go/src/github.com/dcoker/biscuit \
-e SOURCE=${SOURCE} \
-e GITHUB_TOKEN=${GITHUB_TOKEN} \
goreleaser/goreleaser release --rm-dist --snapshot

Expand Down

0 comments on commit ff809c2

Please sign in to comment.