Skip to content

Commit

Permalink
finalize it
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Sep 27, 2024
1 parent 2da579d commit b747042
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Release
on:
push:
branches:
- "feat/78"
- "master"
env:
REGISTRY: ghcr.io
Expand All @@ -23,9 +22,9 @@ jobs:
- name: Build image
run: |
VERSION_TAG=$(grep -Po -m1 '\d.\d.\d' Cargo.toml)
docker build -f test.Dockerfile .\
-t "${REGISTRY}/${IMAGE_NAME}:test-${GITHUB_SHA::6}"\
-t "${REGISTRY}/${IMAGE_NAME}:test-${VERSION_TAG}"\
docker build -f Dockerfile .\
-t "${REGISTRY}/${IMAGE_NAME}:${GITHUB_SHA::6}"\
-t "${REGISTRY}/${IMAGE_NAME}:${VERSION_TAG}"\
-t "${REGISTRY}/${IMAGE_NAME}:latest"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 0 additions & 2 deletions test.Dockerfile

This file was deleted.

0 comments on commit b747042

Please sign in to comment.