Skip to content

Commit

Permalink
Merge pull request #344 from zooniverse/update-actions-04-2024
Browse files Browse the repository at this point in the history
Update all shared action versions to latest
  • Loading branch information
zwolf authored Apr 18, 2024
2 parents 05cc9f5 + 1975468 commit ffdf3f4
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 18 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/apply_ingresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1

- name: Fetch tags for comparison
run: |
git fetch --prune --unshallow --tags
- uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_AKS }}

- name: Set the target AKS cluster
uses: Azure/aks-set-context@v1
uses: Azure/aks-set-context@v4.0.0
with:
creds: '${{ secrets.AZURE_AKS }}'
cluster-name: microservices
resource-group: kubernetes

Expand All @@ -44,7 +47,7 @@ jobs:
needs: apply_ingresses
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1

- name: Update Ingress Tag
run: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/deploy_nginx_production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/[email protected]

- uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_AKS }}

- name: Set the target AKS cluster
uses: Azure/aks-set-context@v1
uses: Azure/aks-set-context@v4.0.0
with:
creds: '${{ secrets.AZURE_AKS }}'
cluster-name: microservices
resource-group: kubernetes

Expand Down
19 changes: 11 additions & 8 deletions .github/workflows/deploy_nginx_staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
needs: test_configuration
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -74,15 +74,18 @@ jobs:
runs-on: ubuntu-latest
needs: push_latest_tag
steps:
- uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_AKS }}

- name: Set the target AKS cluster
uses: Azure/aks-set-context@v1
uses: Azure/aks-set-context@v4.0.0
with:
creds: '${{ secrets.AZURE_AKS }}'
cluster-name: microservices
resource-group: kubernetes

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1

- name: Modify & apply template
run: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/validate_ingresses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1

- name: Fetch tags for comparison
run: |
git fetch --prune --unshallow --tags
- uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_AKS }}

- name: Set the target AKS cluster
uses: Azure/aks-set-context@v1
uses: Azure/aks-set-context@v4.0.0
with:
creds: '${{ secrets.AZURE_AKS }}'
cluster-name: microservices
resource-group: kubernetes

Expand Down

0 comments on commit ffdf3f4

Please sign in to comment.