File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -122,37 +122,3 @@ jobs:
122122 with :
123123 version : aio-${{ needs.settings.outputs.docker_version }}
124124 secrets : inherit
125-
126- publish_to_fly :
127- needs : [settings, build_image]
128- runs-on : ubuntu-latest
129- steps :
130- - uses : docker/setup-buildx-action@v3
131- - uses : docker/login-action@v2
132- with :
133- username : ${{ secrets.DOCKER_USERNAME }}
134- password : ${{ secrets.DOCKER_PASSWORD }}
135- - name : Push to Fly
136- uses : superfly/flyctl-actions/setup-flyctl@dfdfedc86b296f5e5384f755a18bf400409a15d0
137- with :
138- version : 0.1.64
139- - run : |
140- docker pull ${{ needs.settings.outputs.image_tag }}_amd64
141- docker tag ${{ needs.settings.outputs.image_tag }}_amd64 "registry.fly.io/staging-${{ needs.settings.outputs.fly_image_tag }}"
142- docker tag ${{ needs.settings.outputs.image_tag }}_amd64 "registry.fly.io/prod-${{ needs.settings.outputs.fly_image_tag }}"
143-
144- flyctl auth docker
145- docker push "registry.fly.io/staging-${{ needs.settings.outputs.fly_image_tag }}"
146- docker push "registry.fly.io/prod-${{ needs.settings.outputs.fly_image_tag }}"
147- env:
148- FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
149-
150- - name : Slack Notification
151- if : ${{ failure() }}
152- uses : rtCamp/action-slack-notify@v2
153- env :
154- SLACK_WEBHOOK : ${{ secrets.SLACK_NOTIFICATIONS_WEBHOOK }}
155- SLACK_USERNAME : " gha-failures-notifier"
156- SLACK_COLOR : " danger"
157- SLACK_MESSAGE : " Failed pushing AIO image to Fly.io"
158- SLACK_FOOTER : " "
You can’t perform that action at this time.
0 commit comments