mirror of
https://github.com/cupcakearmy/glyphance.git
synced 2025-09-05 22:10:39 +00:00
test pipeline
This commit is contained in:
23
.github/workflows/test.yaml
vendored
23
.github/workflows/test.yaml
vendored
@@ -4,25 +4,18 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- 'main'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: test
|
group: test
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
build-image:
|
||||||
runs-on: ubuntu-latest
|
name: Build Docker Image
|
||||||
steps:
|
uses: cupcakearmy/workflows/.github/workflows/docker-build.yml@main
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v2
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v2
|
|
||||||
with:
|
with:
|
||||||
install: true
|
image: cupcakearmy/glyphance
|
||||||
|
secrets:
|
||||||
- name: Build and push
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
uses: docker/build-push-action@v3
|
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
|
||||||
with:
|
|
||||||
platforms: linux/amd64
|
|
||||||
push: false
|
|
||||||
|
Reference in New Issue
Block a user