Skip to content

Simplifying down dependencies to pinning alembic #35

Simplifying down dependencies to pinning alembic

Simplifying down dependencies to pinning alembic #35

Workflow file for this run

name: docker_build
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Generate tag
id: gen_tag
run: |
TAG=$(printf '%(%Y%m%d%H%M%S)T\n' -1)
echo '::set-output name=tag::'$TAG
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
cityofcapetown/superset:${{ fromJson(steps.gen_tag.outputs.tag) }}
cityofcapetown/superset:latest