diff --git a/.github/workflows/pccs.yml b/.github/workflows/pccs.yml new file mode 100644 index 000000000..f027943d1 --- /dev/null +++ b/.github/workflows/pccs.yml @@ -0,0 +1,32 @@ +name: Build PCCS Docker Image + +on: + workflow_dispatch: + push: + branches: + - 'release/**' + - 'pre-release/**' + +jobs: + build: + runs-on: ubuntu-latest + + name: Build PCCS Docker Image + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Login to GAR + uses: docker/login-action@v2 + with: + registry: us-docker.pkg.dev + username: _json_key + password: ${{ secrets.GCR_JSON_KEY }} + + - name: Build and push pccs docker + run: | + cd docker + docker compose build pccs --no-cache + ./push_image.sh ${{ github.ref_name }} + shell: bash