Skip to content

minor changes

minor changes #377

Workflow file for this run

name: ci-ada-docker-dev
on: push
jobs:
docker:
if: |
github.repository == 'krande/adapy' &&
contains(github.event.head_commit.message, '[docker]')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Main Image
id: docker_build
uses: docker/build-push-action@v3
with:
file: images/dev.Dockerfile
context: .
push: true
tags: krande/ada:dev
cache-from: type=registry,ref=krande/ada:dev
cache-to: type=inline
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}