cicd: run on PRs

This commit is contained in:
Naramsim 2023-11-30 15:03:43 +01:00
parent f7f2be7c1b
commit 35f4712ed3

View file

@ -1,12 +1,7 @@
name: Build Docker image name: Build Docker image
on: on:
push: pull_request:
branches:
- 'master'
- 'staging'
tags:
- '*.*.*'
jobs: jobs:
docker: docker:
@ -20,7 +15,6 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
# list of Docker images to use as base name for tags
images: pokeapi/pokeapi images: pokeapi/pokeapi
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v3 uses: docker/setup-qemu-action@v3