Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Update docker/metadata-action action to v4 (#1510)

Openverse (Bot)7e656a9a672e
diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml
index be1206d2b..fb971bdc9 100644
--- a/.github/actions/build/action.yml
+++ b/.github/actions/build/action.yml
@@ -44,7 +44,7 @@ runs:
# gather metadata from git & github actions to reference in docker
- name: git & github metadata staging
id: metadata_staging
- uses: docker/metadata-action@v3
+ uses: docker/metadata-action@v4
if: ${{ github.event.inputs.is_production == false }}
with:
images: ${{ inputs.aws_account_id }}.dkr.ecr.${{ inputs.aws_region }}.amazonaws.com/openverse/frontend
@@ -66,7 +66,7 @@ runs:
# gather metadata from git & github actions to reference in docker
- name: git & github metadata production
id: metadata_production
- uses: docker/metadata-action@v3
+ uses: docker/metadata-action@v4
if: ${{ github.event.inputs.is_production == true }}
with:
images: ${{ inputs.aws_account_id }}.dkr.ecr.${{ inputs.aws_region }}.amazonaws.com/openverse/frontend
diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml
index 76cf66bda..bf724f291 100644
--- a/.github/workflows/ghcr.yml
+++ b/.github/workflows/ghcr.yml
@@ -27,7 +27,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- - uses: docker/metadata-action@v3
+ - uses: docker/metadata-action@v4
id: metadata
with:
images: ghcr.io/wordpress/openverse-frontend