Skip to content

chore(deps): update docker/build-push-action action to v6 #1374

chore(deps): update docker/build-push-action action to v6

chore(deps): update docker/build-push-action action to v6 #1374

Workflow file for this run

name: Docker Image
on:
push:
workflow_dispatch:
jobs:
ghcr:
name: ${{ github.ref == 'refs/heads/main' && 'Build and Push' || 'Test Build' }}
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Login to ghcr.io
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: ${{ github.ref == 'refs/heads/main' && 'Build and Push' || 'Test Build' }}
uses: docker/build-push-action@a254f8ca60a858f3136a2f1f23a60969f2c402dd # v6
with:
push: ${{ github.ref == 'refs/heads/main' }}
tags: ghcr.io/project-blurple/blurple-contests:latest