-
-
Notifications
You must be signed in to change notification settings - Fork 8
29 lines (27 loc) · 689 Bytes
/
docker.yml
File metadata and controls
29 lines (27 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Docker
on:
push:
branches:
- main
tags:
- v*
jobs:
build-and-push:
name: Deploy Docker Image
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.4.0
- name: Build and push
uses: openzim/docker-publish-action@v10
with:
image-name: openzim/openedx
on-master: dev
tag-pattern: /^v([0-9.]+)$/
latest-on-tag: true
restrict-to: openzim/openedx
registries: ghcr.io
credentials:
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
repo_description: auto
repo_overview: auto