Skip to content

Commit

Permalink
build/deploy looks at tags and checks latest out
Browse files Browse the repository at this point in the history
  • Loading branch information
leee committed Dec 8, 2023
1 parent 6a2113c commit aad8e25
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:32
steps:
- run: dnf install -y podman git
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build production deployment
run: podman build --build-arg GIT_BRANCH=$(git rev-parse HEAD) --file deploy/Dockerfile .
run: podman build --build-arg GIT_BRANCH=${GITHUB_REF##*/} --file ./deploy/Dockerfile .

0 comments on commit aad8e25

Please sign in to comment.