Skip to content

Commit

Permalink
test env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeindl committed Apr 8, 2024
1 parent 82eb99d commit fcfbe0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Set env
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $BRANCH
- run: cat $BRANCH

- uses: mr-smithers-excellent/docker-build-push@v6
name: push-container-image
Expand Down

0 comments on commit fcfbe0b

Please sign in to comment.