This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
build(deps): Bump docker/build-push-action from 6.5.0 to 6.6.1 #115
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "🏗 Next" | |
on: | |
push: | |
branch: | |
- master | |
jobs: | |
build_staging: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
type: | |
- debian | |
name: debian staging build container | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
- name: Login to ghcr.io | |
uses: docker/#-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build image | |
uses: docker/build-push-action@v6.6.1 | |
with: | |
file: staging/Dockerfile.${{ matrix.type }}.staging | |
platforms: linux/amd64 | |
push: true | |
provenance: false | |
tags: | | |
ghcr.io/igaw/linux-nvme/${{ matrix.type }}.staging:next | |
build_tools: | |
runs-on: ubuntu-latest | |
name: build samurai and muon | |
needs: build_staging | |
container: | |
image: ghcr.io/igaw/linux-nvme/debian.staging:next | |
steps: | |
- uses: actions/checkout@v4 | |
- name: build | |
run: | | |
scripts/build-muon.sh | |
- uses: actions/upload-artifact@v4 | |
name: Upload artifacts | |
with: | |
name: samu-muon | |
path: bin | |
deploy_debian_containers: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
type: | |
- debian | |
- debian.python | |
needs: build_tools | |
name: debian build containers | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Download artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
name: samu-muon | |
path: bin | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
- name: Login to ghcr.io | |
uses: docker/#-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build image | |
uses: docker/build-push-action@v6.6.1 | |
with: | |
context: . | |
file: Dockerfile.${{ matrix.type }} | |
platforms: linux/amd64 | |
push: true | |
provenance: false | |
tags: | | |
ghcr.io/igaw/linux-nvme/${{ matrix.type }}:next | |
deploy_cross_containers: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: | |
- armhf | |
- ppc64le | |
- s390x | |
name: ubuntu cross container | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3.6.1 | |
- name: Login to ghcr.io | |
uses: docker/#-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build image | |
uses: docker/build-push-action@v6.6.1 | |
with: | |
file: Dockerfile.ubuntu.${{ matrix.arch }} | |
platforms: linux/amd64 | |
push: true | |
provenance: false | |
tags: | | |
ghcr.io/igaw/linux-nvme/ubuntu-cross-${{ matrix.arch }}:next |