name: Build and Deploy Development Containers on: push: branches: - master workflow_dispatch: jobs: build: permissions: packages: write strategy: fail-fast: false matrix: os: ['ubuntu-20.04', 'ubuntu-22.04', 'ubuntu-23.04', 'ubuntu-23.10', 'ubuntu-24.04', 'fedora-37', 'fedora-38', 'fedora-39'] runs-on: ubuntu-latest name: Update dev containers steps: - name: Checkout uses: actions/checkout@v3 - name: GHCR Login uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Pull base image run: docker pull ghcr.io/dyninst/amd64/${{ matrix.os }}-base:latest - name: Build Dyninst Dev Container run: | cd docker/ docker build --build-arg base=ghcr.io/dyninst/amd64/${{ matrix.os }}-base:latest \ --build-arg build_jobs=2 \ -f Dockerfile \ -t ghcr.io/dyninst/amd64/${{ matrix.os }}:latest ../ - name: Deploy run: docker push ghcr.io/dyninst/amd64/${{ matrix.os }}:latest