Skip to content

Merge pull request #124 from uptane/tidy/crypto #215

Merge pull request #124 from uptane/tidy/crypto

Merge pull request #124 from uptane/tidy/crypto #215

Workflow file for this run

name: Aktualizr CI docker images update
on:
push:
branches: [ master ]
jobs:
update-bionic:
name: Update Ubuntu Bionic Image
runs-on: ubuntu-latest
env:
DOCKER_TAG: docker.pkg.github.com/uptane/aktualizr/aktualizr-ci:bionic-master
DOCKERFILE: docker/Dockerfile.ubuntu.bionic
steps:
- uses: actions/checkout@master
- name: Docker login
run: echo ${{ github.token }} | docker login docker.pkg.github.com -u uptane --password-stdin
- name: Docker build and push
run: |
docker pull "$DOCKER_TAG" || true
docker build --cache-from "$DOCKER_TAG" --pull -t "$DOCKER_TAG" -f "$DOCKERFILE" .
docker push "$DOCKER_TAG"
update-ubuntu-focal:
name: Update Ubuntu Focal Image
runs-on: ubuntu-latest
env:
DOCKER_TAG: docker.pkg.github.com/uptane/aktualizr/aktualizr-ci:ubuntu-focal-master
DOCKERFILE: docker/Dockerfile.ubuntu.focal
steps:
- uses: actions/checkout@master
- name: Docker login
run: echo ${{ github.token }} | docker login docker.pkg.github.com -u uptane --password-stdin
- name: Docker build and push
run: |
docker pull "$DOCKER_TAG" || true
docker build --cache-from "$DOCKER_TAG" --pull -t "$DOCKER_TAG" -f "$DOCKERFILE" .
docker push "$DOCKER_TAG"