Skip to content

fix: pop REACT_APP_GITHUB_CLIENT_ID into .env file #10

fix: pop REACT_APP_GITHUB_CLIENT_ID into .env file

fix: pop REACT_APP_GITHUB_CLIENT_ID into .env file #10

Workflow file for this run

name: Release
# This GitHub action runs on each tag created
on:
push:
tags:
- 'v*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
build:
name: Build and Publish Docker Image
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and Publish
uses: docker/build-push-action@v5
with:
build-args: 'REACT_APP_GITHUB_CLIENT_ID: ${{ secrets.REACT_APP_GITHUB_CLIENT_ID }}'
context: .
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: sonatypecommunity/the-cla:latest , sonatypecommunity/the-cla:${{ github.ref_name }}