Skip to content

Commit 4903508

Browse files
authored
Update go.yml
1 parent 23c44bc commit 4903508

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/go.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,21 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99

10-
- name: Set up Go 1.12
11-
uses: actions/setup-go@v1
12-
with:
13-
go-version: 1.12
14-
id: go
15-
1610
- name: Check out code into the Go module directory
1711
uses: actions/checkout@v1
1812

13+
- name: Set up Docker Buildx
14+
id: buildx
15+
uses: crazy-max/ghaction-docker-buildx@master
16+
with:
17+
version: latest
18+
19+
- name: Available platforms
20+
run: echo ${{ steps.buildx.outputs.platforms }}
21+
1922
- name: Build
20-
run: make ci
23+
env:
24+
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
25+
run: |
26+
docker login docker.pkg.github.com --username stashed --password ${DOCKER_TOKEN}
27+
make push REGISTRY=docker.pkg.github.com/stashed/stash

0 commit comments

Comments
 (0)