@@ -113,51 +113,11 @@ jobs:
113
113
run : |
114
114
gh release upload ${{ github.ref_name }} "tmp/script.ryot.zip"
115
115
116
- docker-release :
117
- runs-on : ubuntu-latest
118
- needs : create-release
119
- steps :
120
- - name : Checkout repository
121
- uses : actions/checkout@v3
122
-
123
- - name : Set up QEMU
124
- uses : docker/setup-qemu-action@v2
125
-
126
- - name : Set up Docker Buildx
127
- uses : docker/setup-buildx-action@v2
128
-
129
- - name : Log in to the Container registry
130
- uses : docker/login-action@v2
131
- with :
132
- registry : ${{ env.REGISTRY }}
133
- username : ${{ github.actor }}
134
- password : ${{ secrets.GITHUB_TOKEN }}
135
-
136
- - name : Get docker image name and build args
137
- id : required_args
138
- run : |
139
- image_name="${{ env.REGISTRY }}/${{ github.actor }}/${{ github.event.repository.name }}"
140
- image_names="$image_name:${{ github.ref_name }},$image_name:unstable"
141
- if [ "${{ needs.create-release.outputs.is-prerelease }}" = "false" ]; then
142
- image_names="$image_names,$image_name:latest"
143
- fi
144
- # lowercase the name
145
- image_names=$(echo "$image_names" | tr '[:upper:]' '[:lower:]')
146
- echo "image_names=$image_names" >> $GITHUB_OUTPUT
147
-
148
- - name : Build and push to ghcr
149
- uses : docker/build-push-action@v3
150
- with :
151
- context : .
152
- platforms : linux/amd64,linux/arm64
153
- push : true
154
- tags : ${{ steps.required_args.outputs.image_names }}
155
-
156
116
# Mark the Github Release™ as a non-draft now that everything has succeeded!
157
117
publish-release :
158
118
# Only run after all the other tasks, but it's ok if upload-artifacts was skipped
159
119
needs :
160
- [create-release, upload-artifacts, docker-release, upload-kodi-plugin]
120
+ [create-release, upload-artifacts, upload-kodi-plugin]
161
121
if : ${{ always() && needs.create-release.result == 'success' && (needs.upload-artifacts.result == 'skipped' || needs.upload-artifacts.result == 'success') }}
162
122
runs-on : ubuntu-latest
163
123
env :
0 commit comments