diff --git a/.github/workflows/dev-pipeline.yml b/.github/workflows/dev-pipeline.yml index 8753f38a..8a684d14 100644 --- a/.github/workflows/dev-pipeline.yml +++ b/.github/workflows/dev-pipeline.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build docker image from master and push it run: ./.github/workflows/scripts/build_and_push_dev.sh env: diff --git a/.github/workflows/prod-pipeline.yml b/.github/workflows/prod-pipeline.yml index f2fc9420..6edf51f7 100644 --- a/.github/workflows/prod-pipeline.yml +++ b/.github/workflows/prod-pipeline.yml @@ -8,12 +8,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Check Tag id: check-tag run: | - if [[ ${GITHUB_REF##*/} =~ ^202[0-9][0-1][0-9][0-3][0-9]$ ]]; then - echo ::set-output name=match::true + if [[ ${GITHUB_REF##*/} =~ ^202[0-9][0-1][0-9][0-3][0-9] ]]; then + echo "match=true" >> $GITHUB_OUTPUT fi - name: Push latest image as prod if: steps.check-tag.outputs.match == 'true'