-
Notifications
You must be signed in to change notification settings - Fork 17
43 lines (36 loc) · 1.12 KB
/
update-docker-images.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
33
34
35
36
37
38
39
40
41
42
43
# Update Docker images in pass-docker that are build in this repository:
# * proxy
# * idp
# * ldap
name: update-docker-images
on:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
# get-version:
# runs-on: ubuntu-latest
# outputs:
# project-version: ${{ steps.project-version.outputs.version }}
# steps:
# - id: project-version
# run: echo "VERSION=grep -Po '(?<=PASS_VERSION=).* .env" >> $GITHUB_OUTPUT
update-images:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- name: Login to GHCR
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build set of Docker images
run: docker compose -f docker-compose.yml -f eclipse-pass.local.yml build --no-cache proxy idp ldap
- name: Publish Docker images
run: docker compose -f docker-compose.yml -f eclipse-pass.local.yml push proxy idp ldap