Skip to content

Commit

Permalink
ci: test hardcoded tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cilki committed May 16, 2024
1 parent c400fa9 commit 29e52fe
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
with:
use_cross: true
command: build
args: --release --target ${{ matrix.target }} --features gui
args: --release --target ${{ matrix.target }}

- uses: actions/upload-artifact@v4
with:
Expand All @@ -71,6 +71,8 @@ jobs:
GH_REPO: ${{ github.repository }}
run: |
for tag in $(git tag --points-at HEAD); do
# TODO
tag=goldboot-v0.0.5
if cp target/${{ matrix.target }}/release/${tag%-*} ${tag%-*}_${{ matrix.target }}; then
gh release upload "${tag}" "${tag%-*}_${{ matrix.target }}"
fi
Expand Down Expand Up @@ -165,6 +167,13 @@ jobs:
push: true
tags: fossable/goldboot:latest

# - uses: docker/build-push-action@v5
# with:
# context: goldboot-registry
# platforms: linux/amd64,linux/arm64 #,linux/arm/v7
# push: true
# tags: fossable/goldboot-registry:latest

- uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down

0 comments on commit 29e52fe

Please sign in to comment.