Skip to content

ponyc-musl-nightly-released #961

ponyc-musl-nightly-released

ponyc-musl-nightly-released #961

name: Rebuild release-a-library image
on:
repository_dispatch:
types:
- changelog-tool-released
- ponyc-musl-nightly-released
- ponyc-musl-released
jobs:
release-a-library:
name: Update release-a-library
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker login
run: docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
- name: Build and push
run: bash release-a-library/build-and-push.bash
- name: Send alert on failure
if: ${{ failure() }}
uses: zulip/github-actions-zulip/send-message@b62d5a0e48a4d984ea4fce5dd65ba691963d4db4
with:
api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }}
email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }}
organization-url: 'https://ponylang.zulipchat.com/'
to: notifications
type: stream
topic: ${{ github.repository }} scheduled job failure
content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.