Skip to content

Commit 64986a7

Browse files
committed
.github/workflows: Bump the docker/build-push-action to the v2 version
Update the test-scripts.yml workflow and replace the docker/build-push-action to use the v2 version. These changes were made by following their upgrade from v1 to v2 guide: - https://github.com/docker/build-push-action/blob/master/UPGRADE.md. We only use this action currently to ensure that builds are successful and don't push (or test against) the newly build container image.
1 parent 455975c commit 64986a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test-scripts.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ on:
1010
jobs:
1111
image-build:
1212
runs-on: ubuntu-latest
13-
steps:
13+
steps:
1414
- name: Check out the repo
1515
uses: actions/checkout@v2
1616
- name: Build the container image
17-
uses: docker/build-push-action@v1
17+
uses: docker/build-push-action@v2
1818
with:
19-
repository: operator-framework/olm
20-
dockerfile: ./Dockerfile
19+
context: .
20+
file: Dockerfile
2121
push: false
2222
run-local-minikube:
2323
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)