mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-05-10 15:43:06 +00:00
feat: docker (#5)
Co-authored-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
c9b4566e1d
commit
b1fd32ecc6
5 changed files with 86 additions and 43 deletions
22
.github/workflows/build-docker.yml
vendored
Normal file
22
.github/workflows/build-docker.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: publish
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish-docker-image:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.MY_TOKEN }}
|
||||
- name: Build the Docker image
|
||||
run: |
|
||||
docker build . --tag ghcr.io/neongamerbot-qk/saahildcom:latest
|
||||
docker push ghcr.io/neongamerbot-qk/saahildcom:latest
|
Loading…
Add table
Add a link
Reference in a new issue