react2minio/.gitea/workflows/deploy_image.yml

23 lines
599 B
YAML
Raw Permalink Normal View History

2024-11-12 10:02:01 +00:00
on:
push:
workflow_dispatch:
jobs:
deploy_image:
runs-on: ubuntu-latest
2024-11-12 10:41:07 +00:00
permissions:
packages: write
contents: read
2024-11-12 10:02:01 +00:00
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
2024-11-12 10:45:32 +00:00
- uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: src.pmh.codes
username: ${{ gitea.repository_owner }}
2024-11-12 10:44:40 +00:00
password: ${{ secrets.REGISTRY_TOKEN }}
2024-11-12 10:02:01 +00:00
- uses: docker/build-push-action@v6
with:
push: true
tags: src.pmh.codes/build-tools/react2minio:latest