Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
Replace legacy env var assignment
Browse files Browse the repository at this point in the history
With the new env var assignment we need to use `=` instead of `::`.
  • Loading branch information
Simon Beck committed Mar 4, 2021
1 parent 60a3767 commit 7ccdb7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- uses: actions/checkout@v1
- name: Set version latest
if: github.ref == 'refs/heads/master'
run: echo VERSION::latest >> $GITHUB_ENV
run: echo VERSION=latest >> $GITHUB_ENV
- name: Set version from tag
if: startsWith(github.ref, 'refs/tags/v')
run: echo VERSION::$(echo ${GITHUB_REF#refs/tags/}) >> $GITHUB_ENV
run: echo VERSION=$(echo ${GITHUB_REF#refs/tags/}) >> $GITHUB_ENV
- name: Build Image
run: docker build -t "${IMAGE}:${VERSION}" .
- name: Push Image
Expand Down

0 comments on commit 7ccdb7f

Please sign in to comment.