Create docker-image.yml

This commit is contained in:
Camerin Figueroa 2024-07-02 14:33:25 -04:00 committed by GitHub
parent a71d702c21
commit 9c32490b0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 29 additions and 0 deletions

29
.github/workflows/docker-image.yml vendored Normal file
View File

@ -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 }}