Update .gitea/workflows/build.yaml
Some checks failed
Build docker container / Build image (push) Failing after 1m56s

This commit is contained in:
ties 2024-08-27 08:22:49 +00:00
parent e31c755e3c
commit 71d8eaed7b

View File

@ -8,11 +8,12 @@ jobs:
build: build:
name: Build image name: Build image
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/catthehacker/ubuntu:act-latest
env: env:
IMAGE_NAME: example-image IMAGE_NAME: custom_act_runner
REGISTRY: git.ties.one REGISTRY: git.ties.one
REPO_OWNER: public REPO_OWNER: public
DOCKER_HOST: tcp://localhost:2375 # DOCKER_HOST: tcp://localhost:2375
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -22,9 +23,9 @@ jobs:
registry: https://git.ties.one registry: https://git.ties.one
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Test Docker # - name: Test Docker
run: | # run: |
sleep infinity # sleep infinity
- name: Build and push - name: Build and push
run: | run: |
TODAY=$(date +'%Y-%m-%d') TODAY=$(date +'%Y-%m-%d')