👷 Fix CI

This commit is contained in:
Thomas "ajnart" Camlong
2022-05-14 10:28:24 +02:00
parent 96ab5dd9a7
commit af7d078293
2 changed files with 9 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
name: Docker Build name: Master docker CI
# Workflow to build and publish docker image # Workflow to build and publish docker image
on: on:

View File

@@ -1,17 +1,18 @@
name: Docker Dev Build name: Development CI
# This workflow uses actions that are not certified by GitHub. # This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by # They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support # separate terms of service, privacy policy, and support
# documentation. # documentation.
on: on:
push: push:
branches: [ dev ] tags:
# Publish semver tags as releases. - v*
tags: [ 'v*.*.*' ]
pull_request: pull_request:
branches: [ dev ]
# to manually run build
workflow_dispatch: workflow_dispatch:
inputs:
tags:
requierd: true
description: 'Tags to deploy to'
env: env:
# Use docker.io for Docker Hub if empty # Use docker.io for Docker Hub if empty
@@ -93,9 +94,7 @@ jobs:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# generate Docker tags based on the following events/attributes # generate Docker tags based on the following events/attributes
tags: | tags: |
tpye=raw,value=dev,priority=1 type=ref,event=pr
type=sha
type=edge,branch=dev
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx