Skip to content

Bump web-vitals from 2.1.4 to 3.5.1 #22

Bump web-vitals from 2.1.4 to 3.5.1

Bump web-vitals from 2.1.4 to 3.5.1 #22

Workflow file for this run

---
# Workflow syntax for GitHub Actions: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: Merge Cleanup
# Events: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
on:
# Run Workflow upon pull request
pull_request:
types: [closed]
# Allow user to manually trigger Workflow execution
workflow_dispatch:
# Run Workflow upon pull request to specified target branch(es)
# pull_request_target:
# types: [closed]
# branches:
# - main
# Set Workflow-level permissions: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions: {} # This Workflow does not require any permission
jobs:
output-information:
runs-on: ubuntu-latest
steps:
- name: Output Information
run: |
echo "${{ toJSON(github) }}"
# Skopeo deletes image tag by reference which is not allowed by Docker Hub
# docker-hub-skopeo:
# runs-on: ubuntu-latest
# environment: docker-hub
# # Skopeo is pre-installed in GitHub hosted runners: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md#tools
# - name: Skopeo Login
# run: |
# skopeo login ${{ vars.DOCKER_REGISTRY_URL }} \
# --username ${{ secrets.DOCKER_REGISTRY_USERNAME }} \
# --password ${{ secrets.DOCKER_REGISTRY_PASSWORD }} \
# - name: Skopeo Delete Image
# id: skopeo-delete
# run: |
# skopeo delete docker://${{ vars.DOCKER_REGISTRY_URL }}/${{ vars.DOCKER_REPOSITORY }}/${{ env.CI_REPOSITORY_NAME }}:${{ env.CI_ACTION_REF_NAME }}
# Regctl allows image tag deletion which is allowed by Docker Hub
docker-hub-regctl:
runs-on: ubuntu-latest
environment: docker-hub
steps:
# Workaround for the absence of github.branch_name, use github-env-vars-action to define useful environment variables not available by default
- uses: FranzDiebold/github-env-vars-action@v2 # https://github.com/marketplace/actions/github-environment-variables-action
# Set Complete Container Image URL
- name: Set CONTAINER_IMAGE_URL
run: |
echo "CONTAINER_IMAGE_URL=${{ vars.DOCKER_REGISTRY_URL }}/${{ vars.DOCKER_REPOSITORY }}/${{ env.CI_REPOSITORY_NAME }}:${{ env.CI_ACTION_REF_NAME }}" >> $GITHUB_ENV
# Install regctl: https://github.com/regclient/regclient
- name: Install regctl
run: |
curl -L https://github.com/regclient/regclient/releases/latest/download/regctl-linux-amd64 > regctl
chmod 755 regctl
- name: regctl login
run: |
./regctl registry login ${{ vars.DOCKER_REGISTRY_URL }} \
--user ${{ secrets.DOCKER_REGISTRY_USERNAME }} \
--pass ${{ secrets.DOCKER_REGISTRY_PASSWORD }} \
- name: regctl Delete Image Tag
run: |
./regctl tag delete ${{ vars.DOCKER_REGISTRY_URL }}/${{ vars.DOCKER_REPOSITORY }}/${{ env.CI_REPOSITORY_NAME }}:${{ env.CI_ACTION_REF_NAME }}