Skip to content

Commit

Permalink
Ab fix release process (#560)
Browse files Browse the repository at this point in the history
* removing full requirements from setup.py and only installing in github action tests and docker

* fixing path to requirements file

* added github action for pushing to pypi upon github release

* removing releasing to testpypi

* added gh action for pushing docker to gcr and ghcr

* github actions cannot use both uses and run, removing the uses

* fixing gh action to remove with and use env for a run

* changed hardcoded username for docker login to gh secret

* temporarily changing version to test out gh actions

* Changing trigger to push: tags: to try to auto kick off on tagging a release

* Changing trigger to be on push: tags: to try to get this auto deployed

* removing the creation of a github release from the action - we are already making a release from the UI which triggers this, no need

* adding gcloud auth for docker to support pushing to gcr

* upping version to retest gh action

* trying docker prune to avoid running out of disk issues

---------

Co-authored-by: Alexander Baumann <[email protected]>
  • Loading branch information
abaumann and Alexander Baumann authored Mar 29, 2024
1 parent a08e861 commit a5b2cc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-to-gcr-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
run: |
docker login ghcr.io -u ${github_username} -p ${github_token}
yes | gcloud auth configure-docker gcr.io
docker system prune -a
./docker/vm_boot_images/build.sh -P
docker system prune -a
./docker/vm_boot_images/build.sh -c -P
env:
github_token: ${{ secrets.GHCR_TOKEN }}
Expand Down

0 comments on commit a5b2cc4

Please sign in to comment.