Bump nginx from e4e764c to 64daa93
#115
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@v4 | |
| - 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@v4 | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| id: buildx | |
| uses: docker/setup-buildx-action@master | |
| - name: Build HTTPS ${{ matrix.derivate }} proxy (${{ matrix.platform }}) | |
| uses: docker/build-push-action@v6 | |
| with: | |
| file: "Dockerfile" | |
| target: ${{ matrix.derivate }} | |
| builder: ${{ steps.buildx.outputs.name }} | |
| context: context | |
| platforms: ${{ matrix.platform }} | |
| 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 }} | |
| tags: | | |
| ghcr.io/${{ github.repository }}:${{ matrix.derivate }} | |
| load: ${{ (matrix.platform == 'linux/amd64') && matrix.derivate == 'base' }} | |
| - uses: e1himself/goss-installation-action@v1.2.1 | |
| if: ${{ (matrix.platform == 'linux/amd64') && matrix.derivate == 'base' }} | |
| - name: Test HTTPS proxy | |
| if: ${{ (matrix.platform == 'linux/amd64') && matrix.derivate == 'base' }} | |
| run: | | |
| make test |