Build
Some checks failed
release-tag / release-image (push) Failing after 8s

This commit is contained in:
2024-03-06 20:29:27 +01:00
parent 7f4113d4ed
commit d62a783be7

View File

@@ -9,8 +9,6 @@ jobs:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-22.04
env:
DOCKER_LATEST: latest
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -27,16 +25,15 @@ jobs:
username: ${{ gitea.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Get Meta
id: meta
- name: Lowercase Name
run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
echo IMAGE_NAME=$(${GITEA_REPOSITORY@L} >> $GITEA_ENV
- name: Build and push
uses: docker/build-push-action@v5
env:
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
IMAGE_NAME: gitea.marijndoeve.nl/Harmitcraft/${{ steps.meta.outputs.REPO_NAME }}
IMAGE_URL: gitea.marijndoeve.nl/${{ IMAGE_NAME }}
with:
context: containers/web
file: ./Containerfile
@@ -44,4 +41,4 @@ jobs:
linux/amd64
push: true
tags: |
${{ env.IMAGE_NAME }}:${{ env.DOCKER_LATEST }}
${{ env.IMAGE_URL }}:latest