This repository has been archived on 2026-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
itsthevine/.gitea/workflows/deploy.yml
T
austinandClaude Opus 4.8 0736081b5f
build-and-publish / build (push) Successful in 9s
ci: push image under thevine org after repo move
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-07-22 11:53:58 -05:00

26 lines
753 B
YAML

name: build-and-publish
on:
push:
branches: [master, main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to the Gitea container registry
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.thebennett.net -u "${{ secrets.REGISTRY_USER }}" --password-stdin
- name: Build image
run: |
docker build \
-t git.thebennett.net/thevine/itsthevine:latest \
-t git.thebennett.net/thevine/itsthevine:${{ github.sha }} .
- name: Push image
run: |
docker push git.thebennett.net/thevine/itsthevine:latest
docker push git.thebennett.net/thevine/itsthevine:${{ github.sha }}