Skip to content

chore(deps): update all non-major dependencies #1395

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #1395

Workflow file for this run

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 }}