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 4dfd297 commit 6f09ca7Copy full SHA for 6f09ca7
.github/workflows/build_and_push_dev.yml
@@ -0,0 +1,27 @@
1
+name: Build and push Docker Image
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "dev"
7
8
+jobs:
9
+ push_to_registry:
10
+ name: Build and push Docker image to Docker Hub
11
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Check out the repo
16
+ uses: actions/checkout@v2
17
+ - name: get-npm-version
18
+ id: package-version
19
+ uses: martinbeentjes/npm-get-version-action@main
20
+ - name: Push to Docker Hub
21
+ uses: docker/build-push-action@v1
22
+ with:
23
+ path: ./
24
+ username: ${{ secrets.DOCKER_USERNAME }}
25
+ password: ${{ secrets.DOCKER_PASSWORD }}
26
+ repository: eoepca/open-science-catalog-frontend
27
+ tags: "v${{ steps.package-version.outputs.current-version }}-dev"
0 commit comments