mirror of
https://github.com/gabehf/music-importer.git
synced 2026-03-07 21:48:16 -08:00
first
This commit is contained in:
commit
9a79c97a4c
5 changed files with 437 additions and 0 deletions
28
.github/workflows/docker.yml
vendored
Normal file
28
.github/workflows/docker.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue