Skip to content

Commit

Permalink
update docker build action
Browse files Browse the repository at this point in the history
zyxkad committed Dec 12, 2023
1 parent 2a59da4 commit 17d2c17
Showing 2 changed files with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/build-tag.yml
Original file line number Diff line number Diff line change
@@ -18,9 +18,6 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.21'
-
name: Generate
run: go generate ./src
-
name: Test
run: go test -v ./src
@@ -47,3 +44,25 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_dir: ./output

build-docker:
runs-on: ubuntu-latest
steps:
-
name: Action Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build docker images
run: /usr/bin/env bash ./dockerbuild.sh
File renamed without changes.

0 comments on commit 17d2c17

Please sign in to comment.