mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-03 11:40:14 +02:00
@@ -19,7 +19,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
if: ${{ github.ref != 'refs/heads/main' }}
|
||||
if: github.ref != 'refs/heads/main' && !startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
build:
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -70,7 +70,7 @@ jobs:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:canary
|
||||
ghcr.io/${{ github.repository }}:${{ steps.vars.outputs.tag }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
@@ -81,6 +81,6 @@ jobs:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}-debian-stable-slim:canary
|
||||
ghcr.io/${{ github.repository }}-debian-stable-slim:${{ steps.vars.outputs.tag }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
Reference in New Issue
Block a user