Skip to content

Commit

Permalink
Add docker build to non tag builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hooksie1 committed Nov 11, 2022
1 parent 1f360a9 commit ec2fbc8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,23 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: go test ./...
run: go test ./...
- name: Docker Login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME}}
password: ${{ secrets.DOCKER_TOKEN}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
platforms: linux/amd64,linux/arm64
tags: |
hooksie1/cmsnr:dev
release:
permissions:
id-token: write
Expand Down

0 comments on commit ec2fbc8

Please sign in to comment.