Skip to content

Commit

Permalink
Merge pull request #2 from lapig-ufg/update-camadas
Browse files Browse the repository at this point in the history
update-camadas
  • Loading branch information
jairomr authored Sep 2, 2023
2 parents b132f46 + aa814b1 commit fc98562
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/homol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
node-version: '16.4.2'


- name: Define a variável application_name
run: |
echo "branch=${GITHUB_REF##*/}" >> $GITHUB_ENV
echo "Branch: $branch"
repo_full_name=$GITHUB_REPOSITORY
repo_name=${repo_full_name##*/}
echo "START_TIME=$(date -u +%s)" >> $GITHUB_ENV
Expand Down Expand Up @@ -54,10 +54,6 @@ jobs:
- name: Create version.json
run: echo '{"commitId":"$LAST_COMMIT_HASH"}' > version.json

- name: Determine branch
id: get_branch
run: echo "::set-output name=branch::${GITHUB_REF##*/}"

- name: Build Server and client
run: |
npm set progress=false
Expand All @@ -68,7 +64,7 @@ jobs:
- name: Validate and Build
run: |
git pull origin develop
git pull origin ${branch}
docker build -t ${{secrets.REGISTRYHOMOL}}/$application_name:${LAST_COMMIT_HASH} -t ${{secrets.REGISTRYHOMOL}}/$application_name:latest -f docker/homologation/Dockerfile . --no-cache
Expand Down

0 comments on commit fc98562

Please sign in to comment.