Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Jan 8, 2024
1 parent 03e4d1a commit eb5699a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ env:
SWAG_VERSION: "1.16.2"
GO_VERSION: "1.21"
NODE_VERSION: "20"
REGISTRY: docker.com

concurrency:
group: ${{ github.event_name}}-${{ github.ref }}
Expand All @@ -30,7 +29,7 @@ jobs:
contents: read
packages: write

environment: ${{ startsWith(github.ref, 'refs/tags/') && 'Release' || 'Development' }}
environment: Release

env:
REGISTRY: ${{ vars.REGISTRY == 'docker.com' && '' || vars.REGISTRY }}
Expand Down Expand Up @@ -60,10 +59,10 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
name=${{ env.REGISTRY != '' && format('{0}/', env.REGISTRY) || '' }}pufferpanel/${{ matrix.image }},enable=${{ env.REGISTRY != '' }}
name=pufferpanel/${{ matrix.image }},enable=${{ env.REGISTRY == '' }}
flavor: |
latest=true
tags: |
type=ref,prefix=branch-,event=branch
type=schedule,pattern={{date 'YYYYMMDD-hhmmss'}}
- name: Check out code
Expand Down

0 comments on commit eb5699a

Please sign in to comment.