mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
ci: Tweaks
This commit is contained in:
parent
f6cd906714
commit
97a779910a
1 changed files with 9 additions and 3 deletions
12
.github/workflows/docker.yml
vendored
12
.github/workflows/docker.yml
vendored
|
@ -9,10 +9,19 @@ on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
|
# Explicitly configure permissions
|
||||||
|
# This lets pull requests from forks push images to pr- tags
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
metadata: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_push:
|
build_and_push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
# Prevent a failure in one image from stopping the other builds
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- context: "server"
|
- context: "server"
|
||||||
|
@ -71,9 +80,6 @@ jobs:
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=raw,value=release,enable=${{ github.event_name == 'release' }}
|
type=raw,value=release,enable=${{ github.event_name == 'release' }}
|
||||||
|
|
||||||
- name: Debug tags
|
|
||||||
run: echo "${{ steps.metadata.outputs.tags }}"
|
|
||||||
|
|
||||||
- name: Build and push image
|
- name: Build and push image
|
||||||
uses: docker/build-push-action@v3.3.0
|
uses: docker/build-push-action@v3.3.0
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue