Skip to content

Commit

Permalink
Fix: Retag multiarch image with latest tag (#423)
Browse files Browse the repository at this point in the history
* Fix: Retag multiarch image with latest tag

* Fix linting
  • Loading branch information
marcinc authored Dec 17, 2024
1 parent 529410b commit c417fa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ jobs:
cat build/${CIRCLE_SHA1}.json
skaffold_tag=$(cat build/${CIRCLE_SHA1}.json | jq -r '.builds[0].tag | split("@")[0]')
skaffold_image=$(cat build/${CIRCLE_SHA1}.json | jq -r '.builds[0].imageName')
docker pull ${skaffold_tag}
docker tag ${skaffold_tag} ${skaffold_image}:latest
docker images
docker push ${skaffold_image}:latest
docker buildx imagetools create -t quay.io/appvia/krane:latest ${skaffold_tag}
- persist_to_workspace:
root: ~/project
paths:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
helm:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -20,7 +20,7 @@ jobs:
uses: azure/setup-helm@v1
with:
version: v3.8.1
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Set up chart-testing
Expand Down

0 comments on commit c417fa5

Please sign in to comment.