Skip to content

Commit

Permalink
fix: build and push dev action
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Behairi committed Dec 7, 2023
1 parent 46adfe3 commit 8f2c452
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_and_push_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ jobs:
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push to Docker Hub
uses: docker/build-push-action@v5
with:
path: ./
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
context: .
repository: eoepca/open-science-catalog-frontend
tags: "v${{ steps.package-version.outputs.current-version }}-${{ github.head_ref || github.ref_name }}"

0 comments on commit 8f2c452

Please sign in to comment.