Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 3fead5a

Browse files
committed
fix(goreleaser): removed docker image configurations
1 parent 0c0b901 commit 3fead5a

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ jobs:
2121
with:
2222
go-version: '1.21.0'
2323

24+
- name: Cache Go modules
25+
uses: actions/cache@v1
26+
with:
27+
path: ~/go/pkg/mod
28+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
29+
restore-keys: |
30+
${{ runner.os }}-go-
31+
2432
- name: Build
2533
run: go build -v .
2634

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ jobs:
2626
with:
2727
go-version: '1.21'
2828

29-
- name: Authenticate to GitHub Container Registry
30-
uses: docker/login-action@v1
29+
- name: Cache Go modules
30+
uses: actions/cache@v1
3131
with:
32-
registry: ghcr.io
33-
username: ${{ github.actor }}
34-
password: ${{ secrets.GITHUB_TOKEN }}
32+
path: ~/go/pkg/mod
33+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
34+
restore-keys: |
35+
${{ runner.os }}-go-
3536
3637
- name: Import GPG key
3738
id: import_gpg

.goreleaser.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@ release:
6060
prerelease: auto
6161
mode: append
6262

63-
dockers:
64-
- image_templates:
65-
- >-
66-
{{ .Env.DOCKER_REGISTRY }}/{{ .Env.DOCKER_IMAGE_NAME }}:{{ .Tag }}
67-
goos: linux
68-
goarch: amd64
69-
dockerfile: Dockerfile
70-
7163
checksum:
7264
name_template: 'checksums.txt'
7365

0 commit comments

Comments
 (0)