From 7ccdb7fb6db6bf627302b5c43e646626d98084e9 Mon Sep 17 00:00:00 2001 From: Simon Beck Date: Thu, 4 Mar 2021 14:53:30 +0100 Subject: [PATCH] Replace legacy env var assignment With the new env var assignment we need to use `=` instead of `::`. --- .github/workflows/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 2cf8c00d..6b1b837f 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -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