Skip to content

fix: error

fix: error #14

Workflow file for this run

name: Testing Container
on: [push]
jobs:
testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
pip install ansible-builder
- name: Build EE with Docker
env:
DOCKER_BUILDKIT: 1
run: |
tox -e docker -- --tag=ghcr.io/arillso/kubernetes:${{ github.sha }}
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: sbaerlocher
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
push: true
tags: |
ghcr.io/arillso/kubernetes:${{ github.sha }}
arillso/kubernetes:${{ github.sha }}