Merge pull request #95 from nanos/update-for-node-20

Update build-container.yaml
This commit is contained in:
Michael 2024-02-02 07:25:44 +00:00 committed by GitHub
commit 34d07a4fa1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,11 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
@ -21,7 +22,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64,linux/arm64