We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d20d2 commit aabadbcCopy full SHA for aabadbc
.github/workflows/container.yaml
@@ -0,0 +1,19 @@
1
+name: Run on Custom Docker Container
2
+on:
3
+ workflow_dispatch:
4
+
5
+jobs:
6
+ custom-container-job:
7
+ runs-on: ubuntu-latest
8
+ container:
9
+ image: docker.io/library/maven:3.9.6
10
+ #options: --user 1001 # optional: run as specific user
11
+ env:
12
+ CUSTOM_ENV: "production"
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
+ - name: Show current user
17
+ run: whoami
18
+ - name: package
19
+ run: mvn package
0 commit comments