Skip to content

[#48058] GH Actions: Changed base image to debian:bullseye #33

[#48058] GH Actions: Changed base image to debian:bullseye

[#48058] GH Actions: Changed base image to debian:bullseye #33

Workflow file for this run

name: Publish Docker image for demo
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
PublishDocker:
runs-on: ubuntu-latest
steps:
- name: Cancel previous
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout sources
uses: actions/checkout@v3
with:
submodules: 'recursive'
lfs: false
- name: Build Docker image
run: docker build . --tag ghcr.io/antmicro/kenning-bare-metal-iree-runtime:latest
- name: Login to registry
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Push image to registry
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
run: docker push ghcr.io/antmicro/kenning-bare-metal-iree-runtime:latest