ties 8af7c12dca
Some checks failed
/ build (18.x) (push) Failing after 10s
/ build (20.x) (push) Failing after 8s
Update .gitea/workflows/build.yaml
2024-08-27 07:51:52 +00:00

27 lines
597 B
YAML

on:
push:
jobs:
build:
runs-on: ubuntu-latest
env:
RUNNER_TOOL_CACHE: /toolcache
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: public/custom_act_runner:latest