30 lines
722 B
YAML
30 lines
722 B
YAML
name: Docker Image CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Docker Publish
|
|
# You may pin to the exact commit or the version.
|
|
# uses: manusa/actions-publish-docker@db938e45d2a3487e0eab9646e83550f554c17af3
|
|
uses: manusa/actions-publish-docker@v1.1.2
|
|
with:
|
|
# Name of the Docker image
|
|
name: request-mirror
|
|
# Tag for the Docker image
|
|
tag: latest
|
|
# Username for Docker registry
|
|
username: ${{ secrets.docker_hub_username }}
|
|
# Password for Docker registry
|
|
password: ${{ secrets.docker_hub_password }}
|