We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23c44bc commit 4903508Copy full SHA for 4903508
.github/workflows/go.yml
@@ -7,14 +7,21 @@ jobs:
7
runs-on: ubuntu-latest
8
steps:
9
10
- - name: Set up Go 1.12
11
- uses: actions/setup-go@v1
12
- with:
13
- go-version: 1.12
14
- id: go
15
-
16
- name: Check out code into the Go module directory
17
uses: actions/checkout@v1
18
+ - name: Set up Docker Buildx
+ id: buildx
+ uses: crazy-max/ghaction-docker-buildx@master
+ with:
+ version: latest
+
19
+ - name: Available platforms
20
+ run: echo ${{ steps.buildx.outputs.platforms }}
21
22
- name: Build
- 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