mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-11 22:53:48 -05:00
Compare commits
2 Commits
v1.1.1-nig
...
v1.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f88f7d90f9 | ||
|
|
75700cd692 |
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -6,8 +6,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
get-tag:
|
get-tag:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
tag: ${{ steps.tag.outputs.tag }}
|
||||||
steps:
|
steps:
|
||||||
- name: Get current tag
|
- name: Get current tag
|
||||||
|
id: tag
|
||||||
run: |
|
run: |
|
||||||
TAG=$(echo "$GITHUB_REF" | sed 's/^refs\/tags\///')
|
TAG=$(echo "$GITHUB_REF" | sed 's/^refs\/tags\///')
|
||||||
echo "Current tag: $TAG"
|
echo "Current tag: $TAG"
|
||||||
@@ -75,7 +78,7 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64, linux/arm64
|
platforms: linux/amd64, linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ghcr.io/sergi0g/cup:${{ needs.get-tag.outputs.tag }}
|
tags: ghcr.io/sergi0g/cup:${{ needs.get-tag.outputs.tag }},ghcr.io/sergi0g/cup:latest
|
||||||
|
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.platform.name }}
|
name: ${{ matrix.platform.name }}
|
||||||
path: target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
|
path: target/${{ matrix.platform.target }}/debug/${{ matrix.platform.bin }}
|
||||||
|
|
||||||
build-image:
|
build-image:
|
||||||
needs: create-tag
|
needs: create-tag
|
||||||
|
|||||||
Reference in New Issue
Block a user