Skip to content

Commit

Permalink
Docker build tag tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyhedral committed Oct 27, 2021
1 parent 75a72d3 commit 5876ff4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ jobs:
registry.sweetrpg.com/sweetrpg-library-api
tags: |
type=raw,value=latest
type=ref,event=branch
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,enable=true,event=branch
type=ref,enable=true,event=tag
type=semver,enable=true,pattern={{version}}
type=semver,enable=true,pattern={{major}}.{{minor}}
type=semver,enable=true,pattern={{major}}
type=raw,pattern={{version}}
type=raw,pattern={{major}}.{{minor}}
type=raw,pattern={{major}}
type=sha,prefix={{branch}}-
type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
3 changes: 0 additions & 3 deletions src/sweetrpg_library_api/application/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ def create_app(app_name=constants.APPLICATION_NAME):

app.register_blueprint(health_blueprint, url_prefix="/health")

# from application.blueprints.billing import blueprint as billing_blueprint
# app.register_blueprint(billing_blueprint, url_prefix="/billing")

app.logger.info("Setting up database...")
from sweetrpg_library_api.application.db import db
# print(db)
Expand Down

0 comments on commit 5876ff4

Please sign in to comment.