Create docker-image.yml
This commit is contained in:
parent
a71d702c21
commit
9c32490b0e
|
|
@ -0,0 +1,29 @@
|
|||
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 }}
|
||||
Loading…
Reference in New Issue