Skip to content

Commit

Permalink
feat(ci/cd): bump gha versions
Browse files Browse the repository at this point in the history
DEVOPS-137
  • Loading branch information
remdub committed Jul 31, 2024
1 parent b1399e0 commit 323e77e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ jobs:
group: self-hosted
steps:
- name: Tag and notify
uses: IMIO/gha/tag-notify@v1.0.1
uses: IMIO/gha/tag-notify@v3.7.1
with:
IMAGE_NAME: ${{ vars.IMAGE_NAME }}
IMAGE_TAG: ${{ vars.IMAGE_TAG_STAGING }}
NEW_IMAGE_TAG: ${{ vars.IMAGE_TAG_PRODUCTION }}
NEW_IMAGE_TAGS: |
${{ vars.IMAGE_TAG_PRODUCTION }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.SMARTWEB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.SMARTWEB_HARBOR_PASSWORD }}
Expand All @@ -32,7 +33,7 @@ jobs:
- name: Get tomorrow date
run: echo "DEPLOY_DATE=$(date --date='03:00 tomorrow' +'%Y-%m-%dT%H:%M:%S%z')" >> $GITHUB_ENV
- name: Deploy to production and notify
uses: IMIO/gha/rundeck-notify@v1.0.1
uses: IMIO/gha/rundeck-notify@v3.7.1
with:
RUNDECK_URL: ${{ secrets.RUNDECK_URL }}
RUNDECK_TOKEN: ${{ secrets.SMARTWEB_RUNDECK_TOKEN }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
if: contains(github.event.head_commit.message, 'Back to development:') == false && contains(github.event.head_commit.message, 'Preparing release') == false
steps:
- name: Build push and notify
uses: IMIO/gha/build-push-notify@v1.0.1
uses: IMIO/gha/build-push-notify@v3.7.1
with:
IMAGE_NAME: ${{ vars.IMAGE_NAME }}
IMAGE_TAG: ${{ vars.IMAGE_TAG_STAGING }}
IMAGE_TAGS: |
${{ secrets.HARBOR_URL }}/${{ vars.IMAGE_NAME }}:staging
${{ secrets.HARBOR_URL }}/${{ vars.IMAGE_NAME }}:staging-${{ github.run_number }}
REGISTRY_URL: ${{ secrets.HARBOR_URL }}
REGISTRY_USERNAME: ${{ secrets.SMARTWEB_HARBOR_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.SMARTWEB_HARBOR_PASSWORD }}
Expand All @@ -30,7 +32,7 @@ jobs:
needs: build-push
steps:
- name: Deploy to staging and notify
uses: IMIO/gha/rundeck-notify@v1.0.1
uses: IMIO/gha/rundeck-notify@v3.7.1
with:
RUNDECK_URL: ${{ secrets.RUNDECK_URL }}
RUNDECK_TOKEN: ${{ secrets.SMARTWEB_RUNDECK_TOKEN }}
Expand Down

0 comments on commit 323e77e

Please sign in to comment.