Repository navigation
Bump nginx from 1.31.8-alpine-slim to 1.31.10-alpine-slim #242
Workflow file for this run
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
| --- | |
| name: Docker build | |
| on: push | |
| permissions: | |
| contents: read | |
| jobs: | |
| derivates: | |
| name: Lookup derivates | |
| runs-on: ubuntu-22.04 | |
| outputs: | |
| matrix: ${{ env.derivates }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Lookup derivates | |
| run: echo "derivates=$(make _derivates)" >> "$GITHUB_ENV" | |
| build: | |
| name: HTTPS Proxy | |
| runs-on: ubuntu-22.04 | |
| needs: derivates | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| derivate: ${{ fromJSON(needs.derivates.outputs.matrix) }} | |
| platform: [linux/arm64, linux/amd64] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v4 | |
| - name: Set up Docker Buildx | |
| id: buildx | |
| uses: docker/setup-buildx-action@master | |
| - name: Generate image metadata | |
| id: meta | |
| uses: docker/metadata-action@v6 | |
| with: | |
| images: ghcr.io/${{ github.repository }} | |
| tags: type=raw,value=${{ matrix.derivate }} | |
| flavor: latest=false | |
| labels: | | |
| org.opencontainers.image.title=HTTPS ${{ matrix.derivate }} proxy | |
| org.opencontainers.image.description=Docker image for HTTPS ${{ matrix.derivate }} proxy | |
| org.opencontainers.image.source=https://github.com/${{ github.repository }} | |
| org.opencontainers.image.version=${{ matrix.derivate }}-${{ github.sha }} | |
| org.opencontainers.image.revision=${{ github.sha }} | |
| - name: Build HTTPS ${{ matrix.derivate }} proxy (${{ matrix.platform }}) | |
| uses: docker/build-push-action@v7 | |
| with: | |
| file: "Dockerfile" | |
| target: ${{ matrix.derivate }} | |
| builder: ${{ steps.buildx.outputs.name }} | |
| context: context | |
| platforms: ${{ matrix.platform }} | |
| labels: ${{ steps.meta.outputs.labels }} | |
| annotations: ${{ steps.meta.outputs.annotations }} | |
| tags: ${{ steps.meta.outputs.tags }} | |
| load: ${{ (matrix.platform == 'linux/amd64') && matrix.derivate == 'base' }} | |
| - uses: e1himself/goss-installation-action@v1.3.0 | |
| if: ${{ (matrix.platform == 'linux/amd64') && matrix.derivate == 'base' }} | |
| - name: Test HTTPS proxy | |
| if: ${{ (matrix.platform == 'linux/amd64') && matrix.derivate == 'base' }} | |
| run: | | |
| make test |