Merge pull request #67 from opendatacube/fix/python-version #15
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: Docker | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**" | |
release: | |
types: | |
- created | |
env: | |
IMAGE_NAME: opendatacube/cube-in-a-box | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' || github.event_name == 'release' | |
steps: | |
- name: Checkout git | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Build and Push latest Docker image tag | |
uses: whoan/docker-build-with-cache-action@v4 | |
with: | |
image_name: ${{ env.IMAGE_NAME }} | |
image_tag: latest | |
username: gadockersvc | |
password: ${{ secrets.GADOCKERSVC_PASSWORD }} |