Skip to content

Update README.md

Update README.md #17

Workflow file for this run

name: Publish core connector image
on:
push:
branches:
- main
env:
IMAGE_NAME: agmangas/edc-connector
jobs:
build-push:
name: Build and push the connector image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up QEMU
uses: docker/[email protected]
- name: Set up Docker Buildx
uses: docker/[email protected]
- name: Login to Docker Hub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push (OAuth2 disabled)
uses: docker/[email protected]
with:
context: .
push: true
build-args: |
ENABLE_OAUTH2=false
tags: |
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:${{ github.ref_name }}
${{ env.IMAGE_NAME }}:${{ github.sha }}
- name: Build and push (OAuth2 enabled)
uses: docker/[email protected]
with:
context: .
push: true
build-args: |
ENABLE_OAUTH2=true
tags: |
${{ env.IMAGE_NAME }}:latest-oauth2
${{ env.IMAGE_NAME }}:${{ github.ref_name }}-oauth2
${{ env.IMAGE_NAME }}:${{ github.sha }}-oauth2