test: docker build
This commit is contained in:
8
.github/workflows/docker-test.yml
vendored
8
.github/workflows/docker-test.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Docker Build
|
||||
name: Test Docker Build
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -9,6 +9,8 @@ jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v3
|
||||
@@ -45,6 +47,8 @@ jobs:
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: false
|
||||
tags: ${{ steps.meta.outputs.tags }},innei/mx-server:latest
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
Reference in New Issue
Block a user