Skip to content

Update stable Rust version to 1.77.1 #96

Update stable Rust version to 1.77.1

Update stable Rust version to 1.77.1 #96

Workflow file for this run

name: README CI
on:
push:
branches: ["main"]
paths: ["README.md"]
env:
NAME: rust
jobs:
update:
strategy:
fail-fast: false
matrix:
registry: ["docker.io", "quay.io"]
runs-on: ubuntu-latest
steps:
# Skip if this is fork and no credentials are provided.
- id: skip
run: echo "no=${{ !(
github.repository_owner != 'instrumentisto'
&& ((matrix.registry == 'quay.io'
&& secrets.QUAYIO_ROBOT_USER == '')
|| (matrix.registry == 'docker.io'
&& secrets.DOCKERHUB_BOT_USER == ''))
) }}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
if: ${{ steps.skip.outputs.no == 'true' }}
# On GitHub Container Registry README is automatically updated
# on beta images pushes.
- name: Update README on Docker Hub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_BOT_USER }}
DOCKER_PASS: ${{ secrets.DOCKERHUB_BOT_PASS }}
with:
provider: dockerhub
destination_container_repo: ${{ github.repository_owner }}/${{ env.NAME }}
readme_file: README.md
if: ${{ steps.skip.outputs.no == 'true'
&& matrix.registry == 'docker.io' }}
- name: Update README on Quay.io
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_APIKEY: ${{ secrets.QUAYIO_API_TOKEN }}
with:
provider: quay
destination_container_repo: ${{ matrix.registry }}/${{ github.repository_owner }}/${{ env.NAME }}
readme_file: README.md
if: ${{ steps.skip.outputs.no == 'true'
&& matrix.registry == 'quay.io' }}