This commit is contained in:
Gabe Farrell 2025-11-15 00:24:21 -05:00
commit 9a79c97a4c
5 changed files with 437 additions and 0 deletions

28
.github/workflows/docker.yml vendored Normal file
View file

@ -0,0 +1,28 @@
name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Log in to Docker registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build Docker image
run: |
docker build -t gabehf/music-importer:latest .
- name: Push Docker image
run: |
docker push gabehf/music-importer:latest