Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
pna-nca committed Oct 3, 2024
1 parent ad6d1ae commit 14498fb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/nca-build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,15 @@ jobs:
- name: checkout the repo
uses: actions/checkout@v4

- name: Set 8.8.8.8 as dns server
run: |
sudo sed -i 's/#DNS=/DNS=8.8.8.8 8.8.4.4/g' /etc/systemd/resolved.conf
sudo systemctl daemon-reload
sudo systemctl restart systemd-networkd
sudo systemctl restart systemd-resolved
- name: login to Docker repository
run: |
sudo systemctl status systemd-networkd
sudo systemctl status systemd-resolved
nslookup docker-registry-internal.extranet.netcetera.biz
echo "${{ secrets.NCA_REPO_PASSWORD }}" | docker login "${{ env.DD_REGISTRY }}" -u "${{ secrets.NCA_REPO_USERNAME }}" --password-stdin
Expand Down

0 comments on commit 14498fb

Please sign in to comment.