From 8f4bf3fe1eb914e89b015aec76b690d2a20a994b Mon Sep 17 00:00:00 2001 From: patrikjuvonen <22572159+patrikjuvonen@users.noreply.github.com> Date: Fri, 17 Feb 2023 17:27:55 +0200 Subject: [PATCH] Delete experimental.yml [ci skip] --- .github/workflows/experimental.yml | 67 ------------------------------ 1 file changed, 67 deletions(-) delete mode 100644 .github/workflows/experimental.yml diff --git a/.github/workflows/experimental.yml b/.github/workflows/experimental.yml deleted file mode 100644 index 8b6433b..0000000 --- a/.github/workflows/experimental.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: build experimental image - -on: - push: - branches-ignore: master - workflow_dispatch: - -jobs: - build-experimental: - runs-on: self-hosted - steps: - - name: checkout code - uses: actions/checkout@v3 - # https://github.com/docker/setup-qemu-action - - name: Set Environment Variables - env: - REPO_OWNER: '${{ github.repository_owner }}' - run: | - IMG=docker-nginx-http3 - - echo "BUILD_VER=1.0.$GITHUB_RUN_NUMBER" >> $GITHUB_ENV - echo "IMG=${IMG}" >> $GITHUB_ENV - echo "DOCKER_IMG=${REPO_OWNER}/${IMG}" >> $GITHUB_ENV - echo "IMAGE=ghcr.io/${REPO_OWNER,,}/${IMG}" >> $GITHUB_ENV - echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV - echo "GIT_SHA=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_ENV - echo "GIT_REF=$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match)" >> $GITHUB_ENV - echo "VCS_REF=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - # https://github.com/docker/setup-buildx-action - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - name: Available platforms - run: echo ${{ steps.buildx.outputs.platforms }} - - name: Login to DockerHub - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Login to GitHub Container Registry - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Docker build and push - uses: docker/build-push-action@v3 - with: - labels: | - org.opencontainers.image.authors=${{ github.repository_owner }} - org.opencontainers.image.created=${{ env.BUILD_DATE }} - org.opencontainers.image.description=Created from commit ${{ env.GIT_SHA }} and ref ${{ env.GIT_REF }} - org.opencontainers.image.ref.name=${{ env.GIT_REF }} - org.opencontainers.image.revision=${{ github.sha }} - org.opencontainers.image.source=https://github.com/${{ github.repository }} - org.opencontainers.image.version=${{ env.BUILD_VER }} - tags: | - ${{ env.DOCKER_IMG }}:${{ env.GIT_REF }} - ${{ env.DOCKER_IMG }}:${{ env.GIT_SHA }} - ${{ env.IMAGE }}:${{ env.GIT_REF }} - ${{ env.IMAGE }}:${{ env.GIT_SHA }} - build-args: | - BUILD_DATE=${{ env.BUILD_DATE }} - VCS_REF=${{ env.VCS_REF }} - push: true - platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7