change act
This commit is contained in:
parent
b75bda4bc3
commit
12da042a77
|
@ -8,15 +8,15 @@ on:
|
|||
jobs:
|
||||
unit-test:
|
||||
container:
|
||||
image: node:16-buster-slim
|
||||
image: catthehacker/ubuntu:act-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Run test job
|
||||
- name: Run test job
|
||||
uses: ./.gitea/workflows/test.yaml
|
||||
build:
|
||||
container:
|
||||
image: node:16-buster-slim
|
||||
image: catthehacker/ubuntu:act-22.04
|
||||
needs: unit-test
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -28,13 +28,13 @@ jobs:
|
|||
# list of Docker images to use as base name for tags
|
||||
images: |
|
||||
fedi-image-bot/bot-api
|
||||
git.fai.st/fedi-image-bot/bot-api
|
||||
git.fai.st/fedi-image-bot/bot-api
|
||||
# generate Docker tags based on the following events/attributes
|
||||
tags: |
|
||||
type=schedule
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
type=sha
|
||||
type=sha
|
||||
- name: Set up QEMU
|
||||
# Add support for more platforms with QEMU (optional)
|
||||
# https://github.com/docker/setup-qemu-action
|
||||
|
@ -55,4 +55,4 @@ jobs:
|
|||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=registry,ref=fedi-image-bot/bot-api:latest
|
||||
cache-to: type=inline
|
||||
cache-to: type=inline
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
name: Unit Tests with docker compose
|
||||
on: [pull_request]
|
||||
|
||||
runs:
|
||||
using:
|
||||
composite
|
||||
|
||||
jobs:
|
||||
unit-test:
|
||||
container:
|
||||
|
|
Loading…
Reference in New Issue