-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (28 loc) · 871 Bytes
/
ci.yml
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
30
31
32
name: Ci
on: push
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Build / push neovim to dockerhub
uses: mr-smithers-excellent/docker-build-push@v2
with:
image: blijblijblij/neovim
tag: latest
registry: docker.io
dockerfile: Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build / push neovim to ghcr.io
uses: mr-smithers-excellent/docker-build-push@v2
with:
image: ghcr.io/${{ github.repository_owner }}/neovim
tag: latest
registry: ghcr.io
dockerfile: Dockerfile
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}