This commit is contained in:
yusing w
2024-04-08 05:07:27 +00:00
parent 8694987ef9
commit 52549b6446
36 changed files with 1268 additions and 554 deletions

View File

@@ -8,7 +8,13 @@ jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- name: Build and Push Container to ghcr.io
uses: GlueOps/github-actions-build-push-containers@v0.3.7
with:
tags: latest,${{ github.ref_name }}
- name: Set tags (latest)
if: "!endsWith(github.ref, '-dev')"
run: echo "::set-output name=tag::latest,${{ github.ref_name }}"
- name: Set tags (dev)
if: "endsWith(github.ref, '-dev')"
run: echo "::set-output name=tag::dev,${{ github.ref_name }}"
- name: Build and Push Container to ghcr.io
uses: GlueOps/github-actions-build-push-containers@v0.3.7
with:
tags: ${{ steps.build_and_push.outputs.tag }}