test
Some checks failed
Build images / check-docker (push) Failing after 5m6s
Build images / build-and-push (push) Successful in 12s
Build images / build (push) Failing after 13s

This commit is contained in:
Julius Zeidler 2025-04-09 23:15:22 +02:00
parent 4e116f660e
commit 1974505dad

View file

@ -14,7 +14,7 @@ env:
# whichever you use to reach it from your desktop/laptop # whichever you use to reach it from your desktop/laptop
FORGEJO_HOST: code.zeidler.dev FORGEJO_HOST: code.zeidler.dev
jobs: jobs:
build: check-docker:
runs-on: docker runs-on: docker
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@ -32,38 +32,37 @@ jobs:
fi fi
done done
# jobs: build-and-push:
# build-and-push: runs-on: catthehacker
# runs-on: catthehacker environment: deploy
# environment: deploy steps:
# steps: - name: Prepare environment variables
# - name: Prepare environment variables run: |
# run: | echo "$HOME/.local/bin" >> "$GITHUB_PATH"
# echo "$HOME/.local/bin" >> "$GITHUB_PATH" echo REGISTRY=${{ env.FORGEJO_HOST }} >> $GITHUB_ENV
# echo REGISTRY=${{ env.FORGEJO_HOST }} >> $GITHUB_ENV
# - name: Checkout the repo
# - name: Checkout the repo uses: actions/checkout@v4
# uses: actions/checkout@v4
# - name: Login to the registry
# - name: Login to the registry uses: docker/login-action@v3
# uses: docker/login-action@v3 with:
# with: registry: ${{ env.REGISTRY }}
# registry: ${{ env.REGISTRY }} username: ${{ github.actor }}
# username: ${{ github.actor }} password: ${{ secrets.PACKAGE_TOKEN }}
# password: ${{ secrets.PACKAGE_TOKEN }} build:
# build: runs-on: catthehacker
# runs-on: catthehacker environment: deploy
# environment: deploy steps:
# steps: - name: Set up Docker Buildx
# - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3
# uses: docker/setup-buildx-action@v3 with:
# with: driver: docker-container
# driver: docker-container - name: Build and push
# - name: Build and push uses: docker/build-push-action@v6
# uses: docker/build-push-action@v6 with:
# with: context: context
# context: context push: true
# push: true provenance: false
# provenance: false platforms: linux/amd64, linux/arm64
# platforms: linux/amd64, linux/arm64 tags: ${{ env.REGISTRY }}/${{ github.actor }}/${{ env.CONTAINER_NAME }}:latest
# tags: ${{ env.REGISTRY }}/${{ github.actor }}/${{ env.CONTAINER_NAME }}:latest