mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 21:32:41 +08:00
.github: Add build image step
This commit is contained in:
parent
ca2dbe5fc4
commit
2a9f830817
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- master
|
||||
|
||||
env:
|
||||
GO_VERSION: "~1.19.4"
|
||||
GO_VERSION: "~1.19.6"
|
||||
|
||||
jobs:
|
||||
# Runs Golangci-lint on the source code
|
||||
@ -64,3 +64,20 @@ jobs:
|
||||
- name: Build mark
|
||||
run: |
|
||||
make build
|
||||
|
||||
# Build Dockerimage
|
||||
ci-docker-build:
|
||||
name: ci-docker-build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- 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@v4
|
||||
with:
|
||||
push: false
|
||||
tags: kovetskiy/mark:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user