Skip to content

Commit

Permalink
ci: more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmg-duarte committed Nov 12, 2024
1 parent 0ac7075 commit f796cba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
fi
# make the version available as a "checked" output in later steps
echo "PACKAGE_VERSION=$(PACKAGE_VERSION)" >> $GITHUB_OUTPUT
echo "PACKAGE_VERSION=$(PACKAGE_VERSION)" >> $GITHUB_ENV
- name: Build in release mode
run: RUSTFLAGS="-D warnings" cargo build --release --locked --package mater-cli
Expand All @@ -68,10 +68,10 @@ jobs:
docker build \
--build-arg VCS_REF="$(git rev-parse HEAD)" \
--build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
--tag ghcr.io/eigerco/mater-cli:"${{ steps.check-version.outputs.PACKAGE_VERSION }}" \
--tag ghcr.io/eigerco/mater-cli:"$PACKAGE_VERSION" \
--file ./docker/dockerfiles/mater-cli.Dockerfile \
.
docker push ghcr.io/eigerco/mater-cli:"${{ steps.check-version.outputs.PACKAGE_VERSION }}"
docker push ghcr.io/eigerco/mater-cli:"$PACKAGE_VERSION"
- name: Perform release
uses: softprops/action-gh-release@v2
Expand All @@ -80,7 +80,7 @@ jobs:
with:
tag_name: ${{ github.ref_name }} # set the name of the release the tag
body: |
Docker container release: https://github.com/eigerco/polka-storage/pkgs/container/mater-cli/?tag=${{ steps.check-version.outputs.PACKAGE_VERSION }}
Docker container release: https://github.com/eigerco/polka-storage/pkgs/container/mater-cli/?tag=${{ env.PACKAGE_VERSION }}
files: |
target/release/mater-cli
Expand Down

0 comments on commit f796cba

Please sign in to comment.