Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
Replace SBT release plugin with Git plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Feb 3, 2024
1 parent 45551f4 commit cab346a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
- name: Log in to DigitalOcean Docker Registry
run: |
doctl registry login
- name: Release
run: ./sbt "release with-defaults"
# - name: Push image to DO registry
# run: |
# version=$(sbt version | tail -n 1 | awk -F ' ' '{print $2}')
# docker push registry.digitalocean.com/sdkman/sdkman-website:$version
# docker push registry.digitalocean.com/sdkman/sdkman-website:latest
- name: Publish local Docker image
run: ./sbt docker:publishLocal
- name: Push image to DO registry
run: |
version=$(sbt version | tail -n 1 | awk -F ' ' '{print $2}')
docker push registry.digitalocean.com/sdkman/sdkman-website:$version
docker push registry.digitalocean.com/sdkman/sdkman-website:latest
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# SDKMAN! website

![Build status](https://github.com/sdkman/sdkman-website/actions/workflows/release.yml/badge.svg)
![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/sdkman/sdkman-website)

This is the service backing the SDKMAN! website at https://sdkman.io

Expand Down

0 comments on commit cab346a

Please sign in to comment.