Skip to content

Commit 7670446

Browse files
committed
release 0.1.0
1 parent 6c6c079 commit 7670446

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish to GitHub Packages
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
packages: write
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- uses: actions/setup-java@v4
19+
with:
20+
java-version: '17'
21+
distribution: 'temurin'
22+
23+
- name: Publish
24+
run: mvn deploy
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
<connection>scm:git:git://github.com/nomad4tech/docker-socket-manager.git</connection>
1717
</scm>
1818

19+
<distributionManagement>
20+
<repository>
21+
<id>github</id>
22+
<name>GitHub Packages</name>
23+
<url>https://maven.pkg.github.com/nomad4tech/docker-socket-manager</url>
24+
</repository>
25+
</distributionManagement>
26+
1927
<properties>
2028
<java.version>17</java.version>
2129
<docker-java.version>3.3.4</docker-java.version>

0 commit comments

Comments
 (0)