Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Jul 23, 2024
1 parent f967ecf commit 1b0b146
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-addons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/download-artifact@v4
with:
name: buildtools
path: ./output/artifacts
path: output/bin
- name: Update ${{ matrix.addon }}
id: update
env:
Expand All @@ -56,8 +56,8 @@ jobs:
IMAGES_REGISTRY_PASS: ${{ secrets.DOCKERHUB_PASSWORD }}
CHARTS_DESTINATION: registry.replicated.com/ec-charts
run: |
chmod 755 ./output/artifacts/buildtools
./output/artifacts/buildtools update addon ${{ matrix.addon }}
chmod 755 ./output/bin/buildtools
./output/bin/buildtools update addon ${{ matrix.addon }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
Expand Down
4 changes: 2 additions & 2 deletions cmd/buildtools/velero.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ var updateVeleroAddonCommand = &cli.Command{
for _, image := range images {
tag := TagFromImage(image)
image = RemoveTagFromImage(image)
if image == "velero/velero" {
helper = fmt.Sprintf("velero/velero-restore-helper:%s", tag)
if image == "docker.io/velero/velero" {
helper = fmt.Sprintf("docker.io/velero/velero-restore-helper:%s", tag)
break
}
}
Expand Down

0 comments on commit 1b0b146

Please sign in to comment.