Skip to content

Commit

Permalink
Fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Zen3515 committed Nov 5, 2022
1 parent 7642092 commit 92aedd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
LEGO_VERSION=$(curl -sL https://api.github.com/repos/go-acme/lego/releases/latest | jq -r ".tag_name")
echo "LEGO_VERSION=$LEGO_VERSION" >> $GITHUB_ENV
echo "Building with LEGO v$LEGO_VERSION"
echo "Building with LEGO $LEGO_VERSION"
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -30,13 +30,13 @@ jobs:
uses: docker/build-push-action@v3
with:
# context: "{{defaultContext}}:mysubdir"
context: .
# context: .
push: true
tags: |
zen3515/acme-lego-cron:latest
zen3515/acme-lego-cron:{{ env.LEGO_VERSION }}
zen3515/acme-lego-cron:${{ env.LEGO_VERSION }}
build-args: |
LEGO_VERSION
LEGO_VERSION=${{ env.LEGO_VERSION }}
platforms: |
linux/386
linux/amd64
Expand Down

0 comments on commit 92aedd1

Please sign in to comment.