return 404 for missing amount instead of Error which uses 5xx #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker build & push | |
on: | |
push: | |
release: | |
types: [published] | |
jobs: | |
build: | |
env: | |
REGISTRY: ghcr.io | |
IMAGENAME: ${{ github.event.repository.name }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Check out code | |
- name: Docker build | |
uses: mr-smithers-excellent/docker-build-push@v5 | |
id: build | |
with: | |
image: ${{ env.IMAGENAME }} | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} |