diff --git a/.github/workflows/node-build.yml b/.github/workflows/node-build.yml index 4c16728f..63cd00aa 100644 --- a/.github/workflows/node-build.yml +++ b/.github/workflows/node-build.yml @@ -52,6 +52,13 @@ jobs: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} if: ${{ github.event_name == 'push' && github.repository == 'odpi/egeria-react-ui' }} + - name: Login to container registry (Quay.io) + uses: docker/login-action@v1 + with: + registry: quay.io + username: ${{ secrets.QUAY_IO_USERNAME }} + password: ${{ secrets.QUAY_IO_ACCESS_TOKEN }} + if: ${{ github.event_name == 'push' && github.repository == 'odpi/egeria-react-ui' }} # For releases (ie not main) - name: Build and push (not main merge) if: github.ref != 'refs/heads/main' @@ -59,7 +66,7 @@ jobs: uses: docker/build-push-action@v2 with: push: ${{ github.event_name == 'push' && github.repository == 'odpi/egeria-react-ui' }} - tags: odpi/egeria-react-ui:${{ steps.package-version.outputs.current-version}} + tags: odpi/egeria-react-ui:${{ steps.package-version.outputs.current-version}}, quay.io/odpi/egeria-react-ui:${{ steps.package-version.outputs.current-version}} context: . file: ./Dockerfile # For main code stream @@ -69,7 +76,7 @@ jobs: uses: docker/build-push-action@v2 with: push: ${{ github.event_name == 'push' && github.repository == 'odpi/egeria-react-ui' }} - tags: odpi/egeria-react-ui:${{ steps.package-version.outputs.current-version}}, odpi/egeria-react-ui:latest + tags: odpi/egeria-react-ui:${{ steps.package-version.outputs.current-version}}, odpi/egeria-react-ui:latest, quay.io/odpi/egeria-react-ui:${{ steps.package-version.outputs.current-version}}, quay.io/odpi/egeria-react-ui:latest context: . file: ./Dockerfile - name: Image digest (release)