Go script for syncing LDAP user group membership to Gitea
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
628 B

name: Docker Publish
on:
push:
branches: [ master ]
jobs:
docker-publish:
name: Docker Publish
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
run: |-
docker build \
--tag "ghcr.io/gitea-group-sync/gitea-group-sync:master" \
.
- name: Publish
run: |-
docker push "ghcr.io/gitea-group-sync/gitea-group-sync:master"