m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-11 22:53:48 -05:00

2 Commits

Author SHA1 Message Date
Sergio
f88f7d90f9 Fix release workflow 2024-07-11 13:29:11 +03:00
Sergio
75700cd692 Update nightly workflow to upload the correct binaries 2024-07-11 12:36:57 +03:00
2 changed files with 5 additions and 2 deletions

View File

@@ -6,8 +6,11 @@ on:
jobs:
get-tag:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.tag.outputs.tag }}
steps:
- name: Get current tag
id: tag
run: |
TAG=$(echo "$GITHUB_REF" | sed 's/^refs\/tags\///')
echo "Current tag: $TAG"
@@ -75,7 +78,7 @@ jobs:
context: .
platforms: linux/amd64, linux/arm64
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:
runs-on: ubuntu-latest

View File

@@ -62,7 +62,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.platform.name }}
path: target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }}
path: target/${{ matrix.platform.target }}/debug/${{ matrix.platform.bin }}
build-image:
needs: create-tag