Skip to content

Commit

Permalink
Use correct actions syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
infogulch committed May 21, 2024
1 parent ad065c4 commit 3976d83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ jobs:

- name: Test docker
run: |
set -ex
docker build -t test --target test --build-arg LDFLAGS="${{ env.LDFLAGS }}" ..
docker run --rm --name test -p 8080 test &
docker run --rm --name test -p 8080:80 test &
go run . hurl
docker stop test
working-directory: ./test
Expand All @@ -50,7 +51,7 @@ jobs:
build-args: |
LDFLAGS=${{ env.LDFLAGS }}
tags: |
infogulch/xtemplate:{{ env.VERSION }}
infogulch/xtemplate:${{ env.VERSION }}
${{ startsWith(github.ref, 'refs/tags/v') && 'infogulch/xtemplate:latest' || null }}
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3976d83

Please sign in to comment.