Skip to content

Commit

Permalink
wip: package
Browse files Browse the repository at this point in the history
  • Loading branch information
kjdev committed Dec 18, 2024
1 parent 1825abf commit 05eec89
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: package

on:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+'
on: [push]
# on:
# push:
# branches:
# - main
# tags:
# - '[0-9]+.[0-9]+.[0-9]+'

jobs:
package:
Expand Down Expand Up @@ -34,6 +35,9 @@ jobs:
platforms: linux/amd64,linux/arm64
provenance: false
push: true
tags: ghcr.io/${{ github.repository }}/nginx:${{ env.TAG }}
# tags: ghcr.io/${{ github.repository }}/nginx:${{ env.TAG }}
tags: |
ghcr.io/${{ github.repository }}/nginx:latest
ghcr.io/${{ github.repository }}/nginx:0.3.0
env:
TAG: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }}

0 comments on commit 05eec89

Please sign in to comment.