Skip to content

chore: update readme example #6

chore: update readme example

chore: update readme example #6

name: Publish ReceiptIO Server
on:
push:
branches: [ "main" ]
paths: [
"src/receiptio-server/**",
"!src/receiptio-server/README.md",
".github/workflows/publish-receiptio-server.yml",
]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- uses: mr-smithers-excellent/docker-build-push@v6
with:
image: s.containers/receiptio-server
registry: ghcr.io
directory: ./src/receiptio-server
dockerfile: ./src/receiptio-server/Dockerfile
multiPlatform: true
platform: linux/amd64,linux/arm64
addLatest: true
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}