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
|
2024-11-12 10:36:24 +00:00
|
|
|
- uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Log in to the Container registry
|
|
|
|
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
|