Skip to content

Commit

Permalink
fix(ci): fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Gągor committed Dec 15, 2024
1 parent 4f84722 commit 7fe162c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
curl -fLo /usr/local/bin/td https://github.com/tgagor/template-dockerfiles/releases/latest/download/td-linux-amd64
chmod +x /usr/local/bin/td
td --config build.yaml --tag $DOCKER_TAG --push
td --config build.yaml --tag ${DOCKER_TAG}-${{ github.sha }} --push
security-scan:
runs-on: ubuntu-latest
Expand All @@ -61,7 +61,7 @@ jobs:
run: |
echo ${{ secrets.CR_PAT }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker pull ghcr.io/tgagor/centos:${{ matrix.tag }}
docker pull ghcr.io/tgagor/centos:${{ matrix.tag }}-${{ github.sha }}
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
Expand Down
4 changes: 2 additions & 2 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ images:
tags:
- centos:{{ .centos }}
- centos:{{ .centos | trimPrefix "stream" }}
- centos:{{ .tag }}-{{ .centos }}
- centos:{{ .tag }}
- centos:{{ .tag | splitList "-" | first }}-{{ .centos }}
- centos:{{ .tag | splitList "-" | first }}
- centos:stream
- centos:latest
labels:
Expand Down

0 comments on commit 7fe162c

Please sign in to comment.