From ad2b3da8014c8c2de2416cdfd768d14d57ed4811 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Mon, 30 Dec 2019 21:19:57 +0100 Subject: [PATCH] dropping alpine support --- .github/workflows/blank.yml | 112 ++++++++++++++++++------------------ 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 30d325ec..e73d7505 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -29,62 +29,62 @@ jobs: with: name: pigallery2-release path: release - build-alpine: - runs-on: [ubuntu-latest] - needs: [create-release] - steps: - - - name: Set tag - id: vars - run: echo ::set-output name=tag::$(echo ${GITHUB_REF:10}) && echo ::set-output name=type::$(echo ${GITHUB_REF:5}) - - - name: Checkout - uses: actions/checkout@v1 - - - uses: actions/download-artifact@v1 - with: - name: pigallery2-release - - - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@v1 - with: - version: latest - - - name: Available platforms - run: echo ${{ steps.buildx.outputs.platforms }} - - - name: Docker login - run: | - docker login -u "${DOCKER_REGISTRY_USERNAME}" -p "${DOCKER_REGISTRY_PASSWORD}" - env: - DOCKER_REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }} - DOCKER_REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }} - - - name: Run Buildx alpine - if: startsWith(steps.vars.outputs.type , 'head') - run: | - docker buildx build \ - --platform linux/amd64,linux/arm64,linux/386,linux/arm/v6,linux/arm/v7 \ - --output "type=image,push=true" \ - --tag bpatrik/pigallery2:nightly-alpine \ - --file docker/alpine/Dockerfile.build . - - name: Run Buildx alpine for tag - if: startsWith(steps.vars.outputs.type , 'tag') - env: - RELEASE_VERSION: ${{ steps.vars.outputs.tag }} - run: | - docker buildx build \ - --platform linux/amd64,linux/arm64,linux/386,linux/arm/v6,linux/arm/v7 \ - --output "type=image,push=true" \ - --tag bpatrik/pigallery2:nightly-alpine \ - --tag bpatrik/pigallery2:$RELEASE_VERSION-alpine \ - --tag bpatrik/pigallery2:latest-alpine \ - --file docker/alpine/Dockerfile.build . - - - name: Docker logout - run: | - docker logout +# build-alpine: +# runs-on: [ubuntu-latest] +# needs: [create-release] +# steps: +# - +# name: Set tag +# id: vars +# run: echo ::set-output name=tag::$(echo ${GITHUB_REF:10}) && echo ::set-output name=type::$(echo ${GITHUB_REF:5}) +# - +# name: Checkout +# uses: actions/checkout@v1 +# - +# uses: actions/download-artifact@v1 +# with: +# name: pigallery2-release +# - +# name: Set up Docker Buildx +# id: buildx +# uses: crazy-max/ghaction-docker-buildx@v1 +# with: +# version: latest +# - +# name: Available platforms +# run: echo ${{ steps.buildx.outputs.platforms }} +# - +# name: Docker login +# run: | +# docker login -u "${DOCKER_REGISTRY_USERNAME}" -p "${DOCKER_REGISTRY_PASSWORD}" +# env: +# DOCKER_REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }} +# DOCKER_REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }} +# - +# name: Run Buildx alpine +# if: startsWith(steps.vars.outputs.type , 'head') +# run: | +# docker buildx build \ +# --platform linux/amd64,linux/arm64,linux/386,linux/arm/v6,linux/arm/v7 \ +# --output "type=image,push=true" \ +# --tag bpatrik/pigallery2:nightly-alpine \ +# --file docker/alpine/Dockerfile.build . +# - name: Run Buildx alpine for tag +# if: startsWith(steps.vars.outputs.type , 'tag') +# env: +# RELEASE_VERSION: ${{ steps.vars.outputs.tag }} +# run: | +# docker buildx build \ +# --platform linux/amd64,linux/arm64,linux/386,linux/arm/v6,linux/arm/v7 \ +# --output "type=image,push=true" \ +# --tag bpatrik/pigallery2:nightly-alpine \ +# --tag bpatrik/pigallery2:$RELEASE_VERSION-alpine \ +# --tag bpatrik/pigallery2:latest-alpine \ +# --file docker/alpine/Dockerfile.build . +# - +# name: Docker logout +# run: | +# docker logout build-stretch: runs-on: [ubuntu-latest] needs: [create-release]