ubuntu-22.04, all dev deps in the container #3
This file contains hidden or 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
| # This is the temporary workflow for building and pushing imgproxy-base images with v4-dev tag. | |
| name: Build V4 Dev image | |
| on: | |
| push: | |
| env: | |
| DOCKER_META_IMAGES: | | |
| ghcr.io/imgproxy/imgproxy-base | |
| concurrency: | |
| group: build-v4-dev-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| if: github.repository_owner == 'imgproxy' | |
| strategy: | |
| matrix: | |
| build: | |
| - arch: amd64 | |
| dockerPlatform: linux/amd64 | |
| image: linux-5.0 | |
| - arch: arm64 | |
| dockerPlatform: linux/arm64/v8 | |
| image: arm-3.0 | |
| runs-on: | |
| - codebuild-imgproxy-${{ github.run_id }}-${{ github.run_attempt }} | |
| - image:${{ matrix.build.image }} | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and push | |
| uses: docker/build-push-action@v6 | |
| with: | |
| tags: ghcr.io/imgproxy/imgproxy-base:v4-dev-${{ matrix.build.arch }} | |
| platforms: ${{ matrix.build.dockerPlatform }} | |
| provenance: false | |
| push: true | |
| push_manifests: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Push manifests | |
| run: | | |
| docker buildx imagetools create -t ghcr.io/imgproxy/imgproxy-base:v4-dev ghcr.io/imgproxy/imgproxy-base:v4-dev-amd64 ghcr.io/imgproxy/imgproxy-base:v4-dev-arm64 |