Skip to content

Commit

Permalink
chore(CI): Update dotnetCI_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aliyaghini authored Aug 26, 2024
1 parent 67360eb commit 452b7b6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/angularCI_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,20 @@ jobs:
- name: Print new tag
run: echo ${{ steps.tag_version.outputs.new_tag }}

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
# registry: registry.abriment.com
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}

- name: Build the Docker image
run: |
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/frontangular:${{ steps.tag_version.outputs.new_tag }} .
docker push ${{ secrets.DOCKERHUB_USERNAME }}/frontangular:${{ steps.tag_version.outputs.new_tag }}
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/frontangular:latest .
docker push ${{ secrets.DOCKERHUB_USERNAME }}/frontangular:latest
build:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 452b7b6

Please sign in to comment.