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 ece9bc5 commit cf745e7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ jobs:
steps:
- name: Check out
uses: actions/checkout@v2
- name: find gateway version
id: gateway_version
run: echo "version=$(cat Cargo.toml | grep -e '\d.\d.\d' -o)" >> $GITHUB_OUTPUT
- name: Build image
run: |
VERSION_TAG=$(cat Cargo.toml | grep -e '\d.\d.\d' -o)
docker build -f test.Dockerfile .\
-t "${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA:0:6}"\
-t "${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA::6}"\
-t "${REGISTRY}/${IMAGE_NAME}:${VERSION_TAG}"\
-t "${REGISTRY}/${IMAGE_NAME}:latest"
env:
Expand Down

0 comments on commit cf745e7

Please sign in to comment.