Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Sep 25, 2019
1 parent 7ede5fd commit 02b9a9f
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,21 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.12
uses: actions/setup-go@v1
with:
go-version: 1.12
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@master
with:
version: latest

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Build
run: make ci
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
run: |
docker login docker.pkg.github.com --username stashed --password ${DOCKER_TOKEN}
make push REGISTRY=docker.pkg.github.com/stashed/mongodb

0 comments on commit 02b9a9f

Please sign in to comment.