Merge pull request #1372 from cityofaustin/v2.14-release-candidate #29
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: "Build AGOL ETL Docker image and push to DockerHub" | |
on: | |
push: | |
branches: | |
- main | |
- production | |
paths: | |
- ".github/workflows/atd_moped_etl_arcgis_docker.yml" | |
- "moped-etl/arcgis/**" | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build AGOL ETL docker image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build and push image | |
uses: docker/build-push-action@v4 | |
with: | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
tags: atddocker/atd-moped-etl-arcgis:${{ github.ref_name }} | |
context: ./moped-etl/arcgis |