Skip to content

Commit

Permalink
chore: remove publish_to_fly step for aio image
Browse files Browse the repository at this point in the history
  • Loading branch information
tgallacher committed Jan 16, 2025
1 parent f4d144c commit 80161e4
Showing 1 changed file with 0 additions and 34 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/dockerhub-release-aio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,37 +122,3 @@ jobs:
with:
version: aio-${{ needs.settings.outputs.docker_version }}
secrets: inherit

publish_to_fly:
needs: [settings, build_image]
runs-on: ubuntu-latest
steps:
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push to Fly
uses: superfly/flyctl-actions/setup-flyctl@dfdfedc86b296f5e5384f755a18bf400409a15d0
with:
version: 0.1.64
- run: |
docker pull ${{ needs.settings.outputs.image_tag }}_amd64
docker tag ${{ needs.settings.outputs.image_tag }}_amd64 "registry.fly.io/staging-${{ needs.settings.outputs.fly_image_tag }}"
docker tag ${{ needs.settings.outputs.image_tag }}_amd64 "registry.fly.io/prod-${{ needs.settings.outputs.fly_image_tag }}"
flyctl auth docker
docker push "registry.fly.io/staging-${{ needs.settings.outputs.fly_image_tag }}"
docker push "registry.fly.io/prod-${{ needs.settings.outputs.fly_image_tag }}"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Slack Notification
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_NOTIFICATIONS_WEBHOOK }}
SLACK_USERNAME: "gha-failures-notifier"
SLACK_COLOR: "danger"
SLACK_MESSAGE: "Failed pushing AIO image to Fly.io"
SLACK_FOOTER: ""

0 comments on commit 80161e4

Please sign in to comment.