Alex
3 years ago
committed by
GitHub
1 changed files with 30 additions and 0 deletions
@ -0,0 +1,30 @@
@@ -0,0 +1,30 @@
|
||||
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" |
Loading…
Reference in new issue