forked from BgLUG/bglug.it
This commit is contained in:
parent
03b00f83d1
commit
3559516db5
@ -14,10 +14,10 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
with:
|
# with:
|
||||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
# submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
- uses: actions/cache/restore@v4
|
- uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
@ -38,16 +38,11 @@ jobs:
|
|||||||
resources
|
resources
|
||||||
key: bglug-it-hugo-resources
|
key: bglug-it-hugo-resources
|
||||||
|
|
||||||
- uses: https://gitea.com/actions/gitea-release-action@v1
|
# - name: Set up QEMU
|
||||||
with:
|
# uses: docker/setup-qemu-action@v3
|
||||||
files: |-
|
|
||||||
public/**
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
# - name: Set up Docker BuildX
|
||||||
uses: docker/setup-qemu-action@v3
|
# uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Set up Docker BuildX
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
# - name: Login to registry
|
# - name: Login to registry
|
||||||
# uses: docker/login-action@v3
|
# uses: docker/login-action@v3
|
||||||
@ -56,19 +51,19 @@ jobs:
|
|||||||
# username: ${{ secrets.REGISTRY_USER }}
|
# username: ${{ secrets.REGISTRY_USER }}
|
||||||
# password: ${{ secrets.REGISTRY_TOKEN }}
|
# password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Build and publish
|
# - name: Build and publish
|
||||||
uses: docker/build-push-action@v5
|
# uses: docker/build-push-action@v5
|
||||||
with:
|
# with:
|
||||||
context: .
|
# context: .
|
||||||
file: ./Dockerfile
|
# file: ./Dockerfile
|
||||||
platforms: linux/amd64
|
# platforms: linux/amd64
|
||||||
push: false
|
# push: false
|
||||||
tags: git.libreschool.org/paspo/bglug.it:latest
|
# tags: git.libreschool.org/paspo/bglug.it:latest
|
||||||
|
|
||||||
- name: send mattermost notification
|
# - name: send mattermost notification
|
||||||
uses: mattermost/action-mattermost-notify@master
|
# uses: mattermost/action-mattermost-notify@master
|
||||||
with:
|
# with:
|
||||||
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }}
|
# MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }}
|
||||||
TEXT: |
|
# TEXT: |
|
||||||
:white_check_mark: `${{ github.repository }}` A new container image has been pushed to `git.libreschool.org/paspo/bglug.it:latest`
|
# :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
|
# MATTERMOST_ICON: https://cdn3.iconfinder.com/data/icons/system-basic-vol-4-1/20/icon-note-attention-alt3-512.png
|
||||||
|
Loading…
Reference in New Issue
Block a user