Skip to content

Commit

Permalink
Update github actions dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Jul 18, 2024
1 parent 51cc87e commit 0d6de92
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ jobs:
outputs:
image-tag: ${{ steps.image-metadata.outputs.version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Container metadata
id: image-metadata
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.TEST_IMAGE_REPO }}
flavor: |
prefix=test-image-
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -66,12 +66,12 @@ jobs:
- deploy_env: staging
contact_api_key_secret_name: STAGING_CONTACT_API_KEY
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -90,7 +90,7 @@ jobs:
hugo \
--minify \
--baseURL "${{ secrets[matrix.web_site_root_secret_name] }}"
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.deploy_env }}
path: ./public
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
aws_default_region_secret_name: STAGING_AWS_DEFAULT_REGION
steps:
# Deploy to S3 bucket.
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v4
with:
name: build-${{ matrix.deploy_env }}
path: ./public
Expand Down

0 comments on commit 0d6de92

Please sign in to comment.