-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (32 loc) · 1.21 KB
/
docker-publish.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: Update images
on:
workflow_dispatch:
push:
branches: [ master ]
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Build latest
uses: IMIO/buildout.pm/actions/harbor@master
with:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
HARBOR_URL: ${{ secrets.HARBOR_URL }}
DELIB_HARBOR_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
DELIB_HARBOR_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
tags: |
imiobe/iadelib:latest
"${{ secrets.HARBOR_URL }}/delib/iadelib:latest"
dockerfile: ./docker/Dockerfile-latest
- name: Build and publish dev image
uses: IMIO/buildout.pm/actions/harbor@master
with:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
HARBOR_URL: ${{ secrets.HARBOR_URL }}
DELIB_HARBOR_USERNAME: ${{ secrets.DELIB_HARBOR_USERNAME }}
DELIB_HARBOR_PASSWORD: ${{ secrets.DELIB_HARBOR_PASSWORD }}
tags: imiobe/iadelib:dev
dockerfile: ./docker/Dockerfile-dev
profile: communes-dev