mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-06-06 17:31:52 +00:00
added docker login
This commit is contained in:
parent
358a3f43f0
commit
cb4426ceb7
@ -2,7 +2,7 @@ version: "3.1"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
aca:
|
aca:
|
||||||
image: ghcr.io/nsacyber/hirs/aca:latest
|
image: ghcr.io/nsacyber/hirs/aca-ci:latest
|
||||||
container_name: hirs-aca1
|
container_name: hirs-aca1
|
||||||
volumes:
|
volumes:
|
||||||
- ../../:/HIRS
|
- ../../:/HIRS
|
||||||
@ -18,7 +18,7 @@ services:
|
|||||||
- ${HIRS_ACA_HOSTNAME}
|
- ${HIRS_ACA_HOSTNAME}
|
||||||
|
|
||||||
tpmprovisioner:
|
tpmprovisioner:
|
||||||
image: ghcr.io/nsacyber/hirs/tpm2provisioner:latest
|
image: ghcr.io/nsacyber/hirs/tpm2provisioner-ci:latest
|
||||||
container_name: hirs-provisioner1-tpm2
|
container_name: hirs-provisioner1-tpm2
|
||||||
depends_on:
|
depends_on:
|
||||||
- aca
|
- aca
|
||||||
|
8
.github/workflows/system_test.yml
vendored
8
.github/workflows/system_test.yml
vendored
@ -23,18 +23,12 @@ jobs:
|
|||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
||||||
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
||||||
- name: Login to the Github Container Registry
|
|
||||||
uses: docker/login-action@v1
|
|
||||||
with:
|
|
||||||
registry: ghcr.io
|
|
||||||
username: ${{ github.actor }}
|
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- name: ACA TPM2 Tests
|
- name: ACA TPM2 Tests
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y curl
|
sudo apt-get install -y curl
|
||||||
echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin
|
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
|
||||||
bash .ci/system-tests/run_system_tests.sh
|
bash .ci/system-tests/run_system_tests.sh
|
||||||
- name: Archive System Test Log files
|
- name: Archive System Test Log files
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user