Skip to content

24.06.1

24.06.1 #25

Workflow file for this run

name: publish
on: [push]
jobs:
publish-docker-image:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
run: |
docker build --build-arg UID=1030 --build-arg GID=100 . --tag ghcr.io/daviehh/anki-sync-svr:latest
docker push ghcr.io/daviehh/anki-sync-svr:latest