Commit 52d778c 1 parent 241921e commit 52d778c Copy full SHA for 52d778c
File tree 2 files changed +32
-1
lines changed
2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish to Dockerhub
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ tags :
7
+ - " *"
8
+
9
+ permissions :
10
+ contents : read
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - name : Set up JDK 21
19
+ uses : actions/setup-java@v4
20
+ with :
21
+ java-version : " 21"
22
+ distribution : " temurin"
23
+ cache : " sbt"
24
+ - name : Package and publish
25
+ env :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27
+ run : |
28
+ sbt stage
29
+ docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
30
+ docker buildx create --name dockerbuilder --platform linux/amd64,linux/arm64 --use
31
+ docker buildx build --platform linux/amd64,linux/arm64 -t mbari/vampire-squid:${{ github.ref_name }} -t mbari/vampire-squid:latest --push .
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ object Dependencies {
28
28
lazy val logbackCore = " ch.qos.logback" % " logback-core" % logbackVersion
29
29
30
30
lazy val mssqlJdbc = " com.microsoft.sqlserver" % " mssql-jdbc" % " 12.8.0.jre11"
31
- lazy val munit = " org.scalameta" %% " munit" % " 1.0.0 "
31
+ lazy val munit = " org.scalameta" %% " munit" % " 1.0.1 "
32
32
lazy val oracleJdbc = " com.oracle.ojdbc" % " ojdbc8" % " 19.3.0.0"
33
33
lazy val postgresql = " org.postgresql" % " postgresql" % " 42.7.3"
34
34
lazy val scalatest = " org.scalatest" %% " scalatest" % " 3.2.19"
You can’t perform that action at this time.
0 commit comments