mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-06 07:39:55 +01:00
test CI fix
This commit is contained in:
7
.github/workflows/docker_dev.yml
vendored
7
.github/workflows/docker_dev.yml
vendored
@@ -32,6 +32,9 @@ env:
|
||||
REGISTRY: ghcr.io
|
||||
# github.repository as <account>/<repo>
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
# temp
|
||||
e1: ${{ github.event_name }}
|
||||
e2: ${{ github.base_ref }}-${{github.head_ref }}
|
||||
|
||||
jobs:
|
||||
# Push image to GitHub Packages.
|
||||
@@ -114,7 +117,7 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to GHCR
|
||||
if: github.event_name != 'pull_request' || github.base_ref == github.head_ref
|
||||
if: github.base_ref == github.head_ref
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@@ -126,6 +129,6 @@ jobs:
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
context: .
|
||||
push: ${{ github.event_name != 'pull_request' || github.base_ref == github.head_ref }}
|
||||
push: ${{ github.base_ref == github.head_ref }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
Reference in New Issue
Block a user