Skip to content

Commit 9f5cb92

Browse files
classabbyampthe-maldridge
authored andcommitted
.github/workflows/build-pkg: update actions
* switch back to actions/checkout (no need to use treeless here) * add `source:` to bake to use the local path context Closes: #250 [via git-merge-pr]
1 parent cfebcbc commit 9f5cb92

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/build-pkg.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout repo
14-
uses: classabbyamp/treeless-checkout-action@v1
14+
uses: actions/checkout@v5
1515

1616
- name: Get image release
1717
id: release
@@ -29,7 +29,7 @@ jobs:
2929
3030
- name: Docker metadata
3131
id: meta
32-
uses: docker/metadata-action@v4
32+
uses: docker/metadata-action@v5
3333
with:
3434
images: |
3535
ghcr.io/${{ github.repository_owner }}/infra-${{ inputs.service_name }}
@@ -47,23 +47,24 @@ jobs:
4747
org.opencontainers.image.description=infrastructure image for ${{ inputs.service_name }} based on Void Linux
4848
4949
- name: Set up QEMU
50-
uses: docker/setup-qemu-action@v2
50+
uses: docker/setup-qemu-action@v3
5151

5252
- name: Set up Docker Buildx
53-
uses: docker/setup-buildx-action@v2
53+
uses: docker/setup-buildx-action@v3
5454

5555
- name: Login to GCHR
5656
if: github.event_name != 'pull_request'
57-
uses: docker/login-action@v2
57+
uses: docker/login-action@v3
5858
with:
5959
registry: ghcr.io
6060
username: ${{ github.actor }}
6161
password: ${{ secrets.GITHUB_TOKEN }}
6262

6363
- name: Build and push images
6464
id: build_and_push
65-
uses: docker/bake-action@v5
65+
uses: docker/bake-action@v6
6666
with:
67+
source: .
6768
push: ${{ github.event_name != 'pull_request' }}
6869
targets: infra-${{ inputs.service_name }}
6970
files: |

0 commit comments

Comments
 (0)