Skip to content

Merge pull request #3 from VillSource/main #4

Merge pull request #3 from VillSource/main

Merge pull request #3 from VillSource/main #4

Workflow file for this run

name: Publish Image to GHCR
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
publish-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.GITHUB_TOKEN }}
- name: Build the Docker image
run: |
docker build -f ./src/PictureStorageService/Dockerfile . --tag ghcr.io/untitlecms/picture-storage-service:v0
docker push ghcr.io/untitlecms/picture-storage-service:v0