Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
optionsome committed Aug 3, 2023
1 parent 51a2bbb commit 47005d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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 master and push it
run: ./.github/workflows/scripts/build_and_push_dev.sh
env:
Expand Down
6 changes: 3 additions & 3 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
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'
Expand Down

0 comments on commit 47005d0

Please sign in to comment.