From 3976d834a27414d0b7c92b2bad6c94acb0079f1c Mon Sep 17 00:00:00 2001 From: infogulch Date: Mon, 20 May 2024 19:27:05 -0500 Subject: [PATCH] Use correct actions syntax --- .github/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 061b083..53b6881 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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