From b0f59206900ae47b4441e9395661ffdbe4b66372 Mon Sep 17 00:00:00 2001 From: Mateus Caruccio Date: Mon, 26 Aug 2024 17:14:22 +0100 Subject: [PATCH] disable github actions --- .github/workflows/release.yml | 114 +++++++++++++++++----------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55a8ed6..1d042f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,57 +1,57 @@ -name: Build and Release - -on: - workflow_dispatch: - push: - tags: - - "v*.*.*" - -permissions: - packages: write - contents: read - -env: - REGISTRY: ghcr.io - IMAGE: ghcr.io/${{ github.repository }} - -jobs: - build-and-release: - name: Build and Release - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set variables - id: prep - run: |- - echo VERSION=$(cat version.txt) >> $GITHUB_ENV - echo RELEASE=v$(cat version.txt) >> $GITHUB_ENV - echo GIT_COMMIT=${GITHUB_SHA:0:7} >> $GITHUB_ENV - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@master - - - name: Login to GHCR - uses: docker/login-action@v2 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push - id: build - uses: docker/build-push-action@v4 - with: - context: . - builder: ${{ steps.buildx.outputs.name }} - file: Dockerfile - push: true - build-args: | - VERSION=${{ env.VERSION }} - RELEASE=${{ env.RELEASE }} - GIT_COMMIT=${{ env.GIT_COMMIT}} - tags: ${{ env.IMAGE }}:latest,${{ env.IMAGE }}:${{ env.RELEASE }} - cache-from: type=gha - cache-to: type=gha,mode=max +#name: Build and Release +# +#on: +# workflow_dispatch: +# push: +# tags: +# - "v*.*.*" +# +#permissions: +# packages: write +# contents: read +# +#env: +# REGISTRY: ghcr.io +# IMAGE: ghcr.io/${{ github.repository }} +# +#jobs: +# build-and-release: +# name: Build and Release +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v3 +# +# - name: Set variables +# id: prep +# run: |- +# echo VERSION=$(cat version.txt) >> $GITHUB_ENV +# echo RELEASE=v$(cat version.txt) >> $GITHUB_ENV +# echo GIT_COMMIT=${GITHUB_SHA:0:7} >> $GITHUB_ENV +# +# - name: Set up Docker Buildx +# id: buildx +# uses: docker/setup-buildx-action@master +# +# - name: Login to GHCR +# uses: docker/login-action@v2 +# with: +# registry: ${{ env.REGISTRY }} +# username: ${{ github.actor }} +# password: ${{ secrets.GITHUB_TOKEN }} +# +# - name: Build and push +# id: build +# uses: docker/build-push-action@v4 +# with: +# context: . +# builder: ${{ steps.buildx.outputs.name }} +# file: Dockerfile +# push: true +# build-args: | +# VERSION=${{ env.VERSION }} +# RELEASE=${{ env.RELEASE }} +# GIT_COMMIT=${{ env.GIT_COMMIT}} +# tags: ${{ env.IMAGE }}:latest,${{ env.IMAGE }}:${{ env.RELEASE }} +# cache-from: type=gha +# cache-to: type=gha,mode=max