mirror of
https://github.com/spaytac/linkdingsync.git
synced 2026-01-21 16:54:45 +00:00
34 lines
992 B
YAML
34 lines
992 B
YAML
name: Deploy Images to GHCR
|
|
|
|
env:
|
|
DOTNET_VERSION: '6.0.x'
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
push-store-image:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 'Checkout GitHub Action'
|
|
uses: actions/checkout@main
|
|
|
|
- name: 'Login to GitHub Container Registry'
|
|
uses: docker/login-action@v1
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{github.actor}}
|
|
password: ${{secrets.GITHUB_TOKEN}}
|
|
|
|
- name: 'Build WallabagSync Image'
|
|
run: |
|
|
docker build -f ./Dockerfile_Wallabag --tag ghcr.io/spaytac/wallabag-sync:latest .
|
|
docker push ghcr.io/spaytac/wallabag-sync:latest
|
|
|
|
- name: 'Build LinkdingUpdater Image'
|
|
run: |
|
|
docker build -f ./Dockerfile_Linkding --tag ghcr.io/spaytac/linkding-updater:latest .
|
|
docker push ghcr.io/spaytac/linkding-updater:latest |