Skip to content

Merge pull request #2 from cityofaustin/release_1.0_wzdx #2

Merge pull request #2 from cityofaustin/release_1.0_wzdx

Merge pull request #2 from cityofaustin/release_1.0_wzdx #2

# Build and push docker image
name: Docker Image CI
on:
push:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
with:
platforms: linux/amd64
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/dts-work-zone-data-feed:production
${{ secrets.DOCKER_USERNAME }}/dts-work-zone-data-feed:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}