Skip to content

Commit

Permalink
wip: revert test push
Browse files Browse the repository at this point in the history
Signed-off-by: segunjkf <[email protected]>
  • Loading branch information
segunjkf committed Oct 8, 2024
1 parent 935b853 commit 77a6de6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ jobs:
with:
file: ./cmd/agent/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: test
push: true
labels: ${{ steps.meta.outputs.labels }}
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
# Compile Docker image only for AMD64 for a regular PR to save some CI time.
platforms: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) && 'linux/amd64,linux/arm64' || 'linux/amd64' }}


2 changes: 1 addition & 1 deletion cmd/agent/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ var cmd = &cobra.Command{
if err := writeConfigToFile(fullConfig, configFilePath); err != nil {
log.Fatalf("Failed to write config to file: %v", err)
}

fmt.Printf("Configuration written to %s\n", configFilePath)

agent(configFilePath)
Expand Down

0 comments on commit 77a6de6

Please sign in to comment.