Skip to content

Commit

Permalink
Update github action deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoobdude authored and amrc-benmorrow committed Nov 27, 2024
1 parent f3473c3 commit 8288ebf
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Helm
uses: azure/setup-helm@v1
uses: azure/setup-helm@v4
with:
version: '3.6.3' # Specify the Helm version you want to use

Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
docker manifest inspect ghcr.io/amrc-factoryplus/acs-base-${{ matrix.type }}:${{ env.BASE_JS_VERSION }} || echo "needs-build=true" >> $GITHUB_OUTPUT
- name: Checkout
if: steps.check.outputs.needs-build == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
if: steps.check.outputs.needs-build == 'true'
id: prepare
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Build
id: build-and-push
if: steps.check.outputs.needs-build == 'true'
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
docker manifest inspect ghcr.io/amrc-factoryplus/acs-base-pg-build:${{ env.BASE_JS_VERSION }} || echo "needs-build=true" >> $GITHUB_OUTPUT
- name: Checkout
if: steps.check.outputs.needs-build == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
if: steps.check.outputs.needs-build == 'true'
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Build
id: build-and-push
if: steps.check.outputs.needs-build == 'true'
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
docker manifest inspect ghcr.io/amrc-factoryplus/acs-base-pg-run:${{ env.BASE_JS_VERSION }} || echo "needs-build=true" >> $GITHUB_OUTPUT
- name: Checkout
if: steps.check.outputs.needs-build == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
if: steps.check.outputs.needs-build == 'true'
id: prepare
Expand All @@ -128,7 +128,7 @@ jobs:
- name: Build
if: steps.check.outputs.needs-build == 'true'
id: build-and-push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
Expand Down Expand Up @@ -175,15 +175,15 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
service-name: ${{ matrix.service }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
id: build-and-push
with:
context: ./${{ steps.prepare.outputs.service-name }}
Expand Down Expand Up @@ -220,14 +220,14 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
service-name: ${{ matrix.service }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
id: build-and-push
with:
context: ./${{ steps.prepare.outputs.service-name }}
Expand Down Expand Up @@ -263,15 +263,15 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
service-name: ${{ matrix.service }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Build
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
id: build-and-push
with:
context: ./${{ steps.prepare.outputs.service-name }}
Expand Down Expand Up @@ -299,7 +299,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: ./.github/actions/prepare
id: prepare
Expand All @@ -315,7 +315,7 @@ jobs:
- name: Build Backend Builder
id: build-backend-builder
if: steps.check-backend-builder.outputs.needs-build == 'true'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./acs-manager
file: ./acs-manager/.docker/Dockerfiles/Dockerfile.backend-build
Expand All @@ -330,7 +330,7 @@ jobs:
- name: Build Backend Base
id: build-backend-base
if: steps.check-backend-base.outputs.needs-build == 'true'
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./acs-manager
file: ./acs-manager/.docker/Dockerfiles/Dockerfile.backend-base
Expand All @@ -339,7 +339,7 @@ jobs:

- name: Build Backend
id: build-backend
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./acs-manager
file: ./acs-manager/.docker/Dockerfiles/Dockerfile
Expand All @@ -359,7 +359,7 @@ jobs:

- name: Build & Push Frontend
id: build-and-push-frontend
uses: docker/build-push-action@v4
uses: docker/build-push-action@v6
with:
context: ./acs-manager
push: true
Expand All @@ -379,7 +379,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: ./.github/actions/prepare
id: prepare
with:
Expand All @@ -433,7 +433,7 @@ jobs:
cp "target/${krb_zipfile}" "../${{ steps.prepare.outputs.service-name }}"
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: ./${{ steps.prepare.outputs.service-name }}
push: true
Expand All @@ -458,7 +458,7 @@ jobs:
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
- name: Login to GitHub Container Registry
Expand Down Expand Up @@ -489,11 +489,11 @@ jobs:
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: release
- name: add-new-release
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: new-release
path: build
Expand All @@ -502,7 +502,7 @@ jobs:
cd build
helm repo index --url https://amrc-factoryplus.github.io/amrc-connectivity-stack/build .
- name: commit
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
id: auto_commit_action
with:
commit_message: Release ${{ github.event.release.tag_name }}
Expand Down

0 comments on commit 8288ebf

Please sign in to comment.