Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
EveningStarlight committed Nov 28, 2024
1 parent 1bbc444 commit 0e1be50
Showing 2 changed files with 29 additions and 29 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/docker-build-test-upload.yaml
Original file line number Diff line number Diff line change
@@ -31,31 +31,31 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Run Hadolint
run: |
sudo curl -L https://github.com/hadolint/hadolint/releases/download/v${{ env.HADOLINT_VERSION }}/hadolint-Linux-x86_64 --output hadolint
sudo chmod +x hadolint
./hadolint images/${{ parent-image }}/Dockerfile
- name: Echo disk usage before clean up
run: ./.github/scripts/echo_usage.sh

- name: Free up all available disk space before building
run: ./.github/scripts/cleanup_runner.sh

- name: Echo disk usage before build start
run: ./.github/scripts/echo_usage.sh

# Connect to Azure Container registry (ACR)
- uses: azure/docker-login@v1
with:
login-server: ${{ env.REGISTRY_NAME }}.azurecr.io
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
# Connect to Azure DEV Container registry (ACR)
- uses: azure/docker-login@v1
with:
login-server: ${{ env.DEV_REGISTRY_NAME }}.azurecr.io
username: ${{ secrets.DEV_REGISTRY_USERNAME }}
password: ${{ secrets.DEV_REGISTRY_PASSWORD }}
- name: Run Hadolint
run: |
sudo curl -L https://github.com/hadolint/hadolint/releases/download/v${{ env.HADOLINT_VERSION }}/hadolint-Linux-x86_64 --output hadolint
sudo chmod +x hadolint
./hadolint images/${{ parent-image }}/Dockerfile
- name: Echo disk usage before clean up
run: ./.github/scripts/echo_usage.sh

- name: Free up all available disk space before building
run: ./.github/scripts/cleanup_runner.sh

- name: Echo disk usage before build start
run: ./.github/scripts/echo_usage.sh

# Connect to Azure Container registry (ACR)
- uses: azure/docker-login@v1
with:
login-server: ${{ env.REGISTRY_NAME }}.azurecr.io
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}

# Connect to Azure DEV Container registry (ACR)
- uses: azure/docker-login@v1
with:
login-server: ${{ env.DEV_REGISTRY_NAME }}.azurecr.io
username: ${{ secrets.DEV_REGISTRY_USERNAME }}
password: ${{ secrets.DEV_REGISTRY_PASSWORD }}
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -26,4 +26,4 @@ jobs:
uses: ./.github/workflows/docker-build-test-upload.yaml
with:
parent-image: ""
image: "base-cpu"
image: "base-cpu"

0 comments on commit 0e1be50

Please sign in to comment.