Files
gravel/.gitea/workflows/deploy.yml.notready
Kerdonov 6fa26f8a33
All checks were successful
Test the running changes / Test (push) Successful in 39s
updated workflows
2025-11-16 13:38:35 +02:00

33 lines
706 B
Plaintext

name: Build and deploy Docker image
on:
push:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
deploy:
name: Deploy
runs-on: rust-latest
steps:
- run: apt-get update -y && apt-get install nodejs -y
- uses: actions/checkout@v4
- run: cargo build --release
- uses: docker/setup-buildx-action@v3
with:
config-inline: |
[registry."gitea-http.apps.svc.cluster.local:3000"]
http = true
insecure = true
- uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: "gitea-http.apps.svc.cluster.local:3000".....