mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +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
|
- master
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GO_VERSION: "~1.19.4"
|
GO_VERSION: "~1.19.6"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Runs Golangci-lint on the source code
|
# Runs Golangci-lint on the source code
|
||||||
@ -64,3 +64,20 @@ jobs:
|
|||||||
- name: Build mark
|
- name: Build mark
|
||||||
run: |
|
run: |
|
||||||
make build
|
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