build(deps): bump undici from 6.19.7 to 6.21.1 #1460
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: Branch Imager | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
Publish: | |
name: Publish image to container registries | |
runs-on: ubuntu-latest | |
if: ${{ ! contains(github.event.head_commit.message, '[skip docker]') }} | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Setup Docker Buildx | |
uses: docker/[email protected] | |
- name: Login to DockerHub | |
uses: docker/[email protected] | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Login to GitHub Container Registry | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Get GitHub Branch Name | |
id: get_branch_name | |
run: echo "branch_name=$(echo $( [ -z "${{ github.head_ref }}" ] && echo ${{ github.ref }} | cut -c12- || echo ${{ github.head_ref }} ) | sed -e 's/\/\|_/-/g' | sed -e 's/@//g')" >> $GITHUB_OUTPUT | |
- name: Build and push Docker image | |
uses: docker/[email protected] | |
with: | |
push: true | |
context: . | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
platforms: | | |
linux/amd64 | |
linux/arm64 | |
tags: | | |
favware/graphql-pokemon:${{ steps.get_branch_name.outputs.branch_name }} | |
ghcr.io/favware/graphql-pokemon:${{ steps.get_branch_name.outputs.branch_name }} |