diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 22812cd8..6cc0ec9f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,8 +7,6 @@ on: jobs: deployment: - permissions: - packages: write environment: deploy runs-on: ubuntu-latest @@ -37,24 +35,4 @@ jobs: run: mvn --batch-mode deploy -DskipTests env: MAVEN_USERNAME: ${{ secrets.BUILD_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.BUILD_PASSWORD }} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Login to GitHub Container Registry - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push the pdp gui image - uses: docker/build-push-action@v4 - with: - context: pdp-gui - file: pdp-gui/docker/Dockerfile - platforms: linux/amd64 - push: true - tags: | - ghcr.io/openconext/openconext-pdp/pdp-gui:${{ github.ref_name }} + MAVEN_PASSWORD: ${{ secrets.BUILD_PASSWORD }} \ No newline at end of file diff --git a/pdp-gui/docker/Dockerfile b/pdp-gui/docker/Dockerfile deleted file mode 100644 index 2f90e4db..00000000 --- a/pdp-gui/docker/Dockerfile +++ /dev/null @@ -1,2 +0,0 @@ -FROM ghcr.io/openconext/openconext-basecontainers/apache2-shibboleth:latest -ADD ./build/ /var/www/