Skip to content

Commit

Permalink
Build production UI image for tagged commits only
Browse files Browse the repository at this point in the history
  • Loading branch information
tillprochaska authored and Rosencrantz committed Apr 26, 2023
1 parent 4ee8b58 commit af945fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
run: make test-ui

- name: Build production image
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: docker build -t ghcr.io/alephdata/aleph-ui-production:${GITHUB_SHA} -f ui/Dockerfile.production ui

- name: Push docker image (tagged)
Expand Down

0 comments on commit af945fa

Please sign in to comment.