Skip to content

Commit

Permalink
Merge pull request #40 from Moros1138/fix-workflows
Browse files Browse the repository at this point in the history
god damnit
  • Loading branch information
Moros1138 authored May 2, 2024
2 parents 97debc1 + 53efa5c commit e26cd91
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test-on-push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: npm install && npm run build && composer install --prefer-dist --no-interaction --no-progress && php artisan dusk:chrome-driver --detect

- name: Copy environment file and set version
run: cp .env.example .env && echo "VERSION=$(git rev-parse HEAD)" >> .env && echo "VITE_VERSION=$(git rev-parse HEAD)" >> .env && export PGETINKER_VERSION=""
run: cp .env.example .env && echo "VERSION=$(git rev-parse HEAD)" >> .env && echo "VITE_VERSION=$(git rev-parse HEAD)" >> .env && export PGETINKER_VERSION="$(git rev-parse HEAD)"

- name: Build Library Objects
run: bash build-libs.sh
Expand Down Expand Up @@ -57,4 +57,7 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
tags: moros1138/pgetinker:latest,moros1138/pgetinker:$PGETINKER_VERSION
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/pgetinker:${{ GITHUB_SHA }}
${{ secrets.DOCKERHUB_USERNAME }}/pgetinker:latest

0 comments on commit e26cd91

Please sign in to comment.