Files
tor-portable/.gitea/workflows/docker-build.yml
Workflow config file is invalid. Please check your config file: yaml: line 12: did not find expected key
2025-11-17 16:49:10 -05:00

22 lines
542 B
YAML

name: Docker Build and Push
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Login to registry
run: echo ${{ secrets.GITEA_TOKEN }} | docker login git.shadowvault.eu -u ${{ gitea.actor }} --password-stdin
- name: Build and push
run: |
docker build --no-cache --pull -t git.shadowvault.eu/${{ gitea.repository }}:latest .
docker push git.shadowvault.eu/${{ gitea.repository }}:latest
- name: Clean up
run: docker system prune -f