From 3362fe8f17c3d5420adfcb649af03b32a32449fd Mon Sep 17 00:00:00 2001 From: thomasjanker Date: Tue, 19 Dec 2023 11:33:31 +0100 Subject: [PATCH] Update docker-build.yml --- .github/workflows/docker-build.yml | 134 ----------------------------- 1 file changed, 134 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 7587eb3..2477d3f 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -51,76 +51,6 @@ jobs: thomasjanker/baikal:experimental-apache thomasjanker/baikal:experimental - # Get the release version by stripping build metadata from the release name - - name: Parse release tag - if: github.event_name == 'release' - run: echo DOCKER_RELEASE_TAG=${GITHUB_REF_NAME/+*/} >> $GITHUB_ENV - - - name: Build and push release image - if: github.event_name == 'release' - uses: docker/build-push-action@v2 - with: - file: apache.dockerfile - platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386 - push: true - tags: | - thomasjanker/baikal:${{ env.DOCKER_RELEASE_TAG }}-apache - thomasjanker/baikal:${{ env.DOCKER_RELEASE_TAG }} - thomasjanker/baikal:apache - thomasjanker/baikal:latest - - build_apache_php80: - name: Build Apache variant (PHP 8.0) - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - # See https://github.com/docker/setup-qemu-action - - name: Set up QEMU - uses: docker/setup-qemu-action@v1 - - # See https://github.com/docker/setup-buildx-action - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - # See https://github.com/docker/login-action - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} - - # Build Apache httpd images - - name: Build and push experimental image - if: github.event_name == 'push' - uses: docker/build-push-action@v2 - with: - file: apache-php8.0.dockerfile - platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386 - push: true - tags: | - thomasjanker/baikal:experimental-apache-php8.0 - thomasjanker/baikal:experimental-php8.0 - - # Get the release version by stripping build metadata from the release name - - name: Parse release tag - if: github.event_name == 'release' - run: echo DOCKER_RELEASE_TAG=${GITHUB_REF_NAME/+*/} >> $GITHUB_ENV - - - name: Build and push release image - if: github.event_name == 'release' - uses: docker/build-push-action@v2 - with: - file: apache-php8.0.dockerfile - platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386 - push: true - tags: | - thomasjanker/baikal:${{ env.DOCKER_RELEASE_TAG }}-apache-php8.0 - thomasjanker/baikal:${{ env.DOCKER_RELEASE_TAG }}-php8.0 - thomasjanker/baikal:apache-php8.0 - thomasjanker/baikal:latest-php8.0 - build_nginx: name: Build nginx variant runs-on: ubuntu-latest @@ -152,67 +82,3 @@ jobs: platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386 push: true tags: thomasjanker/baikal:experimental-nginx - - # Get the release version by stripping build metadata from the release name - - name: Parse release tag - if: github.event_name == 'release' - run: echo DOCKER_RELEASE_TAG=${GITHUB_REF_NAME/+*/} >> $GITHUB_ENV - - - name: Build and push release image - if: github.event_name == 'release' - uses: docker/build-push-action@v2 - with: - file: nginx.dockerfile - platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386 - push: true - tags: | - thomasjanker/baikal:${{ env.DOCKER_RELEASE_TAG }}-nginx - thomasjanker/baikal:nginx - - build_nginx_php80: - name: Build nginx variant (PHP 8.0) - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - # See https://github.com/docker/setup-qemu-action - - name: Set up QEMU - uses: docker/setup-qemu-action@v1 - - # See https://github.com/docker/setup-buildx-action - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - # See https://github.com/docker/login-action - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} - - # Build nginx images - - name: Build and push experimental image - if: github.event_name == 'push' - uses: docker/build-push-action@v2 - with: - file: nginx-php8.0.dockerfile - platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386 - push: true - tags: thomasjanker/baikal:experimental-nginx-php8.0 - - # Get the release version by stripping build metadata from the release name - - name: Parse release tag - if: github.event_name == 'release' - run: echo DOCKER_RELEASE_TAG=${GITHUB_REF_NAME/+*/} >> $GITHUB_ENV - - - name: Build and push release image - if: github.event_name == 'release' - uses: docker/build-push-action@v2 - with: - file: nginx-php8.0.dockerfile - platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386 - push: true - tags: | - thomasjanker/baikal:${{ env.DOCKER_RELEASE_TAG }}-nginx-php8.0 - thomasjanker/baikal:nginx-php8.0