From 3559516db522942c99a467279343bd254e5d3097 Mon Sep 17 00:00:00 2001 From: paspo Date: Sun, 28 Jul 2024 08:56:13 +0200 Subject: [PATCH] a --- .gitea/workflows/build_and_push.yaml | 51 +++++++++++++--------------- 1 file changed, 23 insertions(+), 28 deletions(-) diff --git a/.gitea/workflows/build_and_push.yaml b/.gitea/workflows/build_and_push.yaml index 94bc154..88a802f 100644 --- a/.gitea/workflows/build_and_push.yaml +++ b/.gitea/workflows/build_and_push.yaml @@ -14,10 +14,10 @@ jobs: container: image: catthehacker/ubuntu:act-latest steps: - - uses: actions/checkout@v4 - with: - submodules: true # Fetch Hugo themes (true OR recursive) - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + # - uses: actions/checkout@v4 + # with: + # submodules: true # Fetch Hugo themes (true OR recursive) + # fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - uses: actions/cache/restore@v4 with: @@ -38,16 +38,11 @@ jobs: resources key: bglug-it-hugo-resources - - uses: https://gitea.com/actions/gitea-release-action@v1 - with: - files: |- - public/** + # - name: Set up QEMU + # uses: docker/setup-qemu-action@v3 - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker BuildX - uses: docker/setup-buildx-action@v3 + # - name: Set up Docker BuildX + # uses: docker/setup-buildx-action@v3 # - name: Login to registry # uses: docker/login-action@v3 @@ -56,19 +51,19 @@ jobs: # username: ${{ secrets.REGISTRY_USER }} # password: ${{ secrets.REGISTRY_TOKEN }} - - name: Build and publish - uses: docker/build-push-action@v5 - with: - context: . - file: ./Dockerfile - platforms: linux/amd64 - push: false - tags: git.libreschool.org/paspo/bglug.it:latest + # - name: Build and publish + # uses: docker/build-push-action@v5 + # with: + # context: . + # file: ./Dockerfile + # platforms: linux/amd64 + # push: false + # tags: git.libreschool.org/paspo/bglug.it:latest - - name: send mattermost notification - uses: mattermost/action-mattermost-notify@master - with: - MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} - TEXT: | - :white_check_mark: `${{ github.repository }}` A new container image has been pushed to `git.libreschool.org/paspo/bglug.it:latest` - MATTERMOST_ICON: https://cdn3.iconfinder.com/data/icons/system-basic-vol-4-1/20/icon-note-attention-alt3-512.png + # - name: send mattermost notification + # uses: mattermost/action-mattermost-notify@master + # with: + # MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }} + # TEXT: | + # :white_check_mark: `${{ github.repository }}` A new container image has been pushed to `git.libreschool.org/paspo/bglug.it:latest` + # MATTERMOST_ICON: https://cdn3.iconfinder.com/data/icons/system-basic-vol-4-1/20/icon-note-attention-alt3-512.png