Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Sep 27, 2024
1 parent 7cbc3c2 commit 1cb91b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@ jobs:
uses: actions/checkout@v2
- name: find gateway version
id: gateway_version
run: |
cat Cargo.toml | grep -e '\d.\d.\d' -o
run: echo "version=$(cat Cargo.toml | grep -e '\d.\d.\d' -o)" >> $GITHUB_OUTPUT
- name: Build image
run: |
docker build -f test.Dockerfile .\
-t "${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA::6}"\
-t "${REGISTRY}/${IMAGE_NAME}:${VERSION_TAG}"\
-t "${REGISTRY}/${IMAGE_NAME}:latest"
env:
VERSION_TAG: ${{ steps.gateway_version.outputs.stdout }}
VERSION_TAG: ${{ steps.gateway_version.outputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish image
run: |
Expand Down

0 comments on commit 1cb91b0

Please sign in to comment.