Skip to content

post: reliable benchmarking #18

post: reliable benchmarking

post: reliable benchmarking #18

Workflow file for this run

name: Build and upload image to GHCR
on:
push:
branches:
- develop
workflow_dispatch:
jobs:
push-image:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- name: 'Checkout code'
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: 'Login to GHCR'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ghcr.io/ankush/personal_blog:latest
cache-from: type=gha
cache-to: type=gha,mode=max