ci/cd - log to ghcr before getting tests containers

This commit is contained in:
bunkerity 2023-08-24 17:32:02 +02:00
parent 511597b7e0
commit 423e3b4a39
2 changed files with 10 additions and 4 deletions

View file

@ -16,6 +16,12 @@ jobs:
# Prepare
- name: Checkout source code
uses: actions/checkout@v3
- name: Login to ghcr
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull BW image
run: docker pull ghcr.io/bunkerity/bunkerweb-tests:${{ inputs.RELEASE }} && docker tag ghcr.io/bunkerity/bunkerweb-tests:${{ inputs.RELEASE }} bunkerweb-tests
- name: Pull Scheduler image

View file

@ -13,12 +13,12 @@ jobs:
# Prepare
- name: Checkout source code
uses: actions/checkout@v3
- name: Login to private repository
- name: Login to ghcr
uses: docker/login-action@v2
with:
registry: ${{ secrets.PRIVATE_REGISTRY }}
username: registry
password: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull BW image
run: docker pull ghcr.io/bunkerity/bunkerweb-tests:${{ inputs.RELEASE }} && docker tag ghcr.io/bunkerity/bunkerweb-tests:${{ inputs.RELEASE }} bunkerweb-tests
- name: Pull Scheduler image