diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 8ee90ad..bc7e21e 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -163,7 +163,9 @@ jobs: - name: Set repo owner to lowercase id: repo_owner - run: echo "::set-output name=repo_owner::$(echo ${{ github.repository_owner }} | awk '{print tolower($0)}')" + run: | + REPO_OWNER=$(echo ${{ github.repository_owner }} | awk '{print tolower($0)}') + echo "repo_owner=$REPO_OWNER" >> $GITHUB_ENV - name: Build and Push Docker Image to GitHub Container Registry 🐳 uses: docker/build-push-action@v6 @@ -171,16 +173,16 @@ jobs: GAME: ${{ env.GAME }} FLAG: ${{ env.FLAG }} VERSION: beta - IMAGE: ghcr.io/${{ steps.repo_owner.outputs.repo_owner }}/hlds:${{ matrix.game }}-beta + IMAGE: ghcr.io/${{ env.repo_owner }}/hlds:${{ matrix.game }}-beta with: context: ./container push: true - tags: ghcr.io/${{ steps.repo_owner.outputs.repo_owner }}/hlds:${{ matrix.game }}-beta + tags: ghcr.io/${{ env.repo_owner }}/hlds:${{ matrix.game }}-beta build-args: | GAME=${{ env.GAME }} FLAG=${{ env.FLAG }} VERSION=beta - IMAGE=ghcr.io/${{ steps.repo_owner.outputs.repo_owner }}/hlds:${{ matrix.game }}-beta + IMAGE=ghcr.io/${{ env.repo_owner }}/hlds:${{ matrix.game }}-beta - name: Cleanup 🧹 if: always()