diff --git a/.github/workflows/artifact-publish.yml b/.github/workflows/artifact-publish.yml
new file mode 100644
index 0000000..c09e1fc
--- /dev/null
+++ b/.github/workflows/artifact-publish.yml
@@ -0,0 +1,31 @@
+name: Publish Java Package
+
+on:
+ push:
+ tags:
+ - 'jpo-s3-deposit-*'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up JDK 21
+ uses: actions/setup-java@v4
+ with:
+ java-version: '21'
+ distribution: 'adopt'
+
+ - name: Remove snapshot from version
+ run: mvn versions:set -DremoveSnapshot
+
+ - name: Build with Maven
+ run: mvn -B package --file pom.xml
+
+ - name: Publish to GitHub Packages
+ run: mvn --batch-mode -Dgithub_organization=${{ github.repository_owner }} deploy
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index d6e0ad1..c29687b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,6 +10,8 @@
21
21
+
+ usdot-jpo-ode
@@ -101,4 +103,11 @@
+
+
+ github
+ GitHub Packages
+ https://maven.pkg.github.com/${github_organization}/jpo-s3-deposit
+
+