Skip to content

Commit

Permalink
fix: disable docker image build
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed May 20, 2024
1 parent 99335d1 commit d260b79
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,29 +119,3 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

Build_Push_Image:
if: github.event_name != 'pull_request'
needs:
- Resolve_Image_Tag
- Client_Side_Linting
- Client_Side_Unit_Tests
runs-on: ubuntu-latest
name: Build_Push_Image
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.TAPIS_DOCKERHUB_USERNAME }}
password: ${{ secrets.TAPIS_DOCKERHUB_ACCESS_TOKEN }}
- name: Build_Tapis_UI_Image
run: |
BRANCH="${{ needs.Set_Image_Tag.outputs.image_tag }}"
if [[ "${{ contains(needs.Set_Image_Tag.outputs.image_tag, 'refs/pull/') }}" ]]; then
BRANCH=dev
fi
docker build -f Dockerfile -t tapis/tapisui:"$BRANCH" .
- name: Push_All_Tags
run: docker push --all-tags tapis/tapisui

0 comments on commit d260b79

Please sign in to comment.