File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -136,34 +136,3 @@ jobs:
136136 fi
137137 env :
138138 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
139-
140- # Create release body
141- - name : Create release body
142- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
143- run : |
144- {
145- cat /tmp/release/pr_body.txt
146- echo -e "\n\n### Docker Image"
147- echo -e "The Docker image is attached as an asset and can be loaded with:"
148- echo -e '```bash'
149- echo -e 'gunzip -c docker-image.tar.gz | docker load'
150- echo -e '```'
151- echo -e "\nOr directly pull from GitHub Container Registry:"
152- echo -e '```bash'
153- echo -e 'docker pull ghcr.io/${{ github.repository }}:latest'
154- echo -e '```'
155- } > /tmp/release/release_body.txt
156-
157- # Create a single release when merging to main
158- - name : Create release
159- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
160- id : create_release
161- uses : softprops/action-gh-release@v1
162- with :
163- name : " Release ${{ github.run_number }}"
164- tag_name : " v0.1.${{ github.run_number }}"
165- draft : false
166- prerelease : false
167- files : |
168- /tmp/release/docker-image.tar.gz
169- body_path : /tmp/release/release_body.txt
You can’t perform that action at this time.
0 commit comments