Skip to content

Build ansible image with github actions #2

Build ansible image with github actions

Build ansible image with github actions #2

Workflow file for this run

name: ci
on:
push:
branches:
- 'master'
jobs:
ansible-build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- image: ansible
subdir: debian-buster
- image: ansible
subdir: debian-buster-tools
- image: ansible
subdir: ezplatform-toolbox
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-

Check failure on line 27 in .github/workflows/docker.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/docker.yml (Line: 27, Col: 8): Unexpected value ''
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
context: "./${{ matrix.image }}/${{ matrix.subdir }}"
file: ./Dockerfile
push: true
tags: "${{ matrix.image }}:${{ matrix.subdir }}:latest"