Skip to content

Commit

Permalink
Merge pull request #75 from ONSdigital/replace-create-release
Browse files Browse the repository at this point in the history
RAS-1011 Replace unmaintained actions/create-release and update google-github-actions/setup-gcloud
  • Loading branch information
arroyoAle authored Apr 12, 2024
2 parents 6174b36 + 66b8e02 commit e8f989b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
credentials_json: ${{ secrets.GCR_KEY }}
- name: Setup Google Cloud SDK
uses: google-github-actions/setup-gcloud@v0
uses: google-github-actions/setup-gcloud@v2
- name: template helm
run: |
helm template $CHART_DIRECTORY
Expand Down Expand Up @@ -135,18 +135,11 @@ jobs:
cp $IMAGE-${{ env.HELM_VERSION }}.tgz $IMAGE-latest.tgz
gsutil cp $IMAGE-*.tgz gs://$ARTIFACT_BUCKET/$IMAGE/
- uses: actions/create-release@v1
- name: Create Release
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.version }}
release_name: ${{ env.version }}
body: |
Automated release
${{ env.version }}
draft: false
prerelease: false
run: gh release create ${{ env.version }} --title ${{ env.version }} --notes ${{ env.version }}

- name: CD hook
if: github.ref == 'refs/heads/main'
Expand Down
4 changes: 2 additions & 2 deletions _infra/helm/uaa/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.1.11
version: 2.1.12

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 2.1.11
appVersion: 2.1.12

0 comments on commit e8f989b

Please sign in to comment.