fix(deps): update rust crate tokio to v1.43.0 #112
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cleanup Pull Request | |
on: | |
pull_request: | |
types: [closed] | |
workflow_dispatch: | |
inputs: | |
pr_number: | |
description: "Pull Request Number" | |
required: true | |
type: number | |
jobs: | |
merge_job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Remove tag | |
run: | | |
if [ -n "${{ github.event.inputs.pr_number }}" ]; then | |
pr_number="${{ github.event.inputs.pr_number }}" | |
else | |
pr_number="${{ github.event.number }}" | |
fi | |
features=(full postgres sqlite) | |
tags=(none arm64) | |
docker run --rm lumir/remove-dockerhub-tag --user ${{ secrets.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_TOKEN }} \ | |
danonline/autopulse:pr-${pr_number} \ | |
danonline/autopulse:pr-${pr_number}-arm64 \ | |
danonline/autopulse:ui-pr-${pr_number} || true | |
for feature in "${features[@]}"; do | |
for tag in "${tags[@]}"; do | |
if [ "$tag" == "none" ]; then | |
docker run --rm lumir/remove-dockerhub-tag --user ${{ secrets.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_TOKEN }} danonline/autopulse:pr-${pr_number}-${feature} || true | |
else | |
docker run --rm lumir/remove-dockerhub-tag --user ${{ secrets.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_TOKEN }} danonline/autopulse:pr-${pr_number}-${feature}-${tag} || true | |
fi | |
done | |
done |