From 8dac771413f794bb81169fa209e5b693117a4b4e Mon Sep 17 00:00:00 2001 From: Aurora <5505558+duggalsu@users.noreply.github.com> Date: Fri, 9 Feb 2024 11:40:06 +0530 Subject: [PATCH] Fix docker github action - Added custom node version - Fixed node12 and node16 deprecation warnings by upgrading actions - Fixed set-output deprecation warning --- .github/workflows/docker-push-vidvec.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-push-vidvec.yml b/.github/workflows/docker-push-vidvec.yml index bb1104f1..42aeb133 100644 --- a/.github/workflows/docker-push-vidvec.yml +++ b/.github/workflows/docker-push-vidvec.yml @@ -6,18 +6,22 @@ jobs: api: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: master + - name: "Setup Node version" + uses: actions/setup-node@v4 + with: + node-version: 20.9.0 - name: Declare some variables id: vars shell: bash run: | echo "setting variables" - echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" + echo "name=sha_short::$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - uses: elgohr/Publish-Docker-Github-Action@master with: username: tattletech