Skip to content

Commit 8f2a686

Browse files
committed
Update GH build-push workflow with latest
1 parent 04153ce commit 8f2a686

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/build-push.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Panubo build and push to Quay.io and ECR Public
1+
# Source: https://github.com/panubo/reference-github-actions/blob/main/docker-images/build-push.yml
2+
#
3+
# Description: Panubo build and push to Quay.io and ECR Public
24
# This GH Action is intended for public docker images that package upstream applications/services (ie not for projects of Panubo's).
35
# For repos that build multiple repos use the multi-build-push.yml workflow.
46
#
@@ -9,6 +11,8 @@
911
# Automated testing is triggered by `make _ci_test`, if no test is required the Makefile target should just run `true`.
1012
# Before tests are run a Docker build is performed, the resulting image has a tag of "test"
1113
# BATS is installed since it is commonly required by the tests.
14+
#
15+
# LICENSE: MIT License, Copyright (c) 2021-2025 Volt Grid Pty Ltd t/a Panubo
1216

1317
name: build and push on main and tags
1418

@@ -33,7 +37,7 @@ jobs:
3337
runs-on: ubuntu-latest
3438
steps:
3539
- name: Checkout
36-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
3741
with:
3842
submodules: true
3943

@@ -94,7 +98,7 @@ jobs:
9498
bats-version: 1.7.0
9599

96100
- name: Build and export to Docker
97-
uses: docker/build-push-action@v5
101+
uses: docker/build-push-action@v6
98102
with:
99103
builder: ${{ steps.buildx.outputs.name }}
100104
cache-from: type=gha
@@ -106,7 +110,7 @@ jobs:
106110
make _ci_test
107111
108112
- name: Build and Push
109-
uses: docker/build-push-action@v5
113+
uses: docker/build-push-action@v6
110114
with:
111115
builder: ${{ steps.buildx.outputs.name }}
112116
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)