mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-02 19:45:54 +01:00
👷 Fix CI
This commit is contained in:
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -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:
|
||||||
|
|||||||
17
.github/workflows/docker_dev.yml
vendored
17
.github/workflows/docker_dev.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user