Skip to content

chore: sync from nutritrace-dev (v1.0.0-rc.40) #69

chore: sync from nutritrace-dev (v1.0.0-rc.40)

chore: sync from nutritrace-dev (v1.0.0-rc.40) #69

Workflow file for this run

name: Build & Push to GHCR
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
ghcr.io/traceapps/nutritrace:latest
ghcr.io/traceapps/nutritrace:${{ github.sha }}