Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Sep 14, 2023
1 parent 619222d commit e0300df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 dev-1.x and push it
run: ./.github/workflows/scripts/build_and_push_dev.sh
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
echo "match=true" >> $GITHUB_OUTPUT
fi
- name: Push latest image as prod
if: steps.check-tag.outputs.match == 'true'
Expand Down

0 comments on commit e0300df

Please sign in to comment.