summaryrefslogtreecommitdiff
path: root/.github/workflows/deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/deploy.yml')
-rw-r--r--.github/workflows/deploy.yml35
1 files changed, 0 insertions, 35 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
deleted file mode 100644
index 65b5e78..0000000
--- a/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-name: 'Run build and deploy'
-
-on:
- release:
- types: [ 'published' ]
-
-jobs:
- docker:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-java@v4
- with:
- java-version: '21'
- distribution: 'temurin'
-
- - name: Setup Gradle
- uses: gradle/actions/setup-gradle@v3
-
- - name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v3
-
- - name: Login to Docker Hub
- uses: docker/login-action@v3
- with:
- registry: ghcr.io
- username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Execute image build and push
- run: |
- ./gradlew bootBuildImage
- docker tag ghcr.io/${{ github.repository }} ghcr.io/${{ github.repository }}:${{ github.ref_name }}
- docker push ghcr.io/${{ github.repository }}
- docker push ghcr.io/${{ github.repository }}:${{ github.ref_name }} \ No newline at end of file