Skip to content

💚 OAuth env vars were switched #2

💚 OAuth env vars were switched

💚 OAuth env vars were switched #2

Workflow file for this run

name: Publish core connector image
on:
push:
branches:
- main
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: |
agmangas/edc-connector:latest
agmangas/edc-connector:${{ github.ref_name }}
agmangas/edc-connector:${{ github.sha }}
- name: Build and push (OAuth2 enabled)
uses: docker/[email protected]
with:
context: .
push: true
build-args: |
ENABLE_OAUTH2=true
tags: |
agmangas/edc-connector:latest-oauth2
agmangas/edc-connector:${{ github.ref_name }}-oauth2
agmangas/edc-connector:${{ github.sha }}-oauth2