Skip to content

Commit

Permalink
Use correct credentials to push images
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Belouin <[email protected]>
  • Loading branch information
diconico07 committed Oct 27, 2023
1 parent c316fd7 commit a9d8e78
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-onvif-video-broker-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.crUsername }}
password: ${{ secrets.crPassword }}

- name: Build and push
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-opcua-monitoring-broker-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.crUsername }}
password: ${{ secrets.crPassword }}

- name: Docker meta
uses: docker/metadata-action@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-opencv-base-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.crUsername }}
password: ${{ secrets.crPassword }}

- name: Docker meta
uses: docker/metadata-action@v5
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-python-app-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
push:
branches: [ main ]
paths:
- .github/workflows/build-python-app-container.yml
- .github/workflows/build-python-app-containers.yml
- build/containers/Dockerfile.python-app
- samples/apps/**
- version.txt
pull_request:
branches: [ main ]
paths:
- .github/workflows/build-python-app-container.yml
- .github/workflows/build-python-app-containers.yml
- build/containers/Dockerfile.python-app
- samples/apps/**
- version.txt
Expand Down Expand Up @@ -50,8 +50,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.crUsername }}
password: ${{ secrets.crPassword }}

- name: Docker meta
uses: docker/metadata-action@v5
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/build-rust-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ main ]
paths:
- .github/workflows/build-rust-code.yml
- .github/workflows/build-rust-containers.yml
- build/containers/Dockerfile.rust
- '**.rs'
- '**/Cargo.toml'
Expand All @@ -13,7 +13,7 @@ on:
pull_request:
branches: [ main ]
paths:
- .github/workflows/build-rust-code.yml
- .github/workflows/build-rust-containers.yml
- build/containers/Dockerfile.rust
- '**.rs'
- '**/Cargo.toml'
Expand Down Expand Up @@ -63,8 +63,8 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.crUsername }}
password: ${{ secrets.crPassword }}

- name: Docker meta
uses: docker/metadata-action@v5
Expand Down Expand Up @@ -138,6 +138,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ secrets.crUsername }}
password: ${{ secrets.crPassword }}

- name: Docker meta
uses: docker/metadata-action@v5
id: meta
Expand Down

0 comments on commit a9d8e78

Please sign in to comment.