Skip to content

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

Update docker/build-push-action action to v3 (#1508)

Openverse (Bot)f60296e24927
diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml
index fb971bdc9..68e4d19c1 100644
--- a/.github/actions/build/action.yml
+++ b/.github/actions/build/action.yml
@@ -54,7 +54,7 @@ runs:
# build a docker image
- name: build docker image
- uses: docker/build-push-action@v2
+ uses: docker/build-push-action@v3
if: ${{ github.event.inputs.is_production == false }}
with:
context: .
@@ -79,7 +79,7 @@ runs:
# build a docker image
- name: build docker image
- uses: docker/build-push-action@v2
+ uses: docker/build-push-action@v3
if: ${{ github.event.inputs.is_production == true }}
with:
context: .
diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml
index f4265335b..b40231313 100644
--- a/.github/workflows/ghcr.yml
+++ b/.github/workflows/ghcr.yml
@@ -36,7 +36,7 @@ jobs:
type=ref,event=tag
${{ github.event_name == 'push' && 'type=raw,value=main' || '' }}
- - uses: docker/build-push-action@v2
+ - uses: docker/build-push-action@v3
with:
context: .
tags: ${{ steps.metadata.outputs.tags }}