Merge pull request #1317 from jooola/fix/ci

Fix CI docker test image
This commit is contained in:
Kyle Robbertze 2021-09-01 15:18:03 +00:00 committed by GitHub
commit 75fe8e5ade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View File

@ -96,7 +96,7 @@ jobs:
release: [bionic, buster]
context: [python_apps/airtime_analyzer, python_apps/api_clients]
container: ghcr.io/${{ github.repository_owner }}/libretime-dev:${{ matrix.release }}
container: ghcr.io/libretime/libretime-dev:${{ matrix.release }}
defaults:
run:
shell: bash

View File

@ -20,14 +20,22 @@ jobs:
- distribution: debian
release: buster
env:
REGISTRY: ghcr.io
IMAGE_ORG: libretime
IMAGE_NAME: libretime-dev
# See https://github.com/LibreTime/libretime/issues/1216
# See https://github.com/LibreTime/libretime/actions/runs/1190504235
if: ${{ github.repository_owner == 'LibreTime' }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to DockerHub
- name: Login to the Container registry
uses: docker/login-action@v1
with:
registry: ghcr.io
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
@ -74,4 +82,4 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/libretime-dev:${{ matrix.release }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_ORG }}/${{ env.IMAGE_NAME }}:${{ matrix.release }}