Skip to content

Merge pull request #245 from cityofaustin/ch-311-activities #132

Merge pull request #245 from cityofaustin/ch-311-activities

Merge pull request #245 from cityofaustin/ch-311-activities #132

name: Build and Push Docker Image to Docker Hub
on:
push:
branches:
- production
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/atd-airflow:production
${{ secrets.DOCKER_USERNAME }}/atd-airflow:latest