From 336a79966a47415a9b17f0b390cea9c10f970e6f Mon Sep 17 00:00:00 2001 From: Alexandr Bogomyakov Date: Mon, 19 Feb 2024 18:39:43 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b7d0dd4..77ed364 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,11 +9,6 @@ jobs: docker: runs-on: ubuntu-latest steps: - - name: Set outputs - id: vars - run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - - name: Check outputs - run: echo ${{ steps.vars.outputs.sha_short }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -26,6 +21,11 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Set outputs + id: vars + run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + - name: Check outputs + run: echo ${{ steps.vars.outputs.sha_short }} - name: Build and push uses: docker/build-push-action@v5