Skip to content

Commit 2b00cfa

Browse files
committed
fix(ci/github/agent): add check for it not being an operator tag build
1 parent 3736b6f commit 2b00cfa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/agent-container.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Build and push agent container image
33
# Configures this workflow to run every time a tag is created
44
on:
55
push:
6-
tags-ignore:
7-
- operator/*
86
paths:
97
- agent/**
108
- containers/agent.Dockerfile
@@ -22,6 +20,7 @@ env:
2220
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
2321
jobs:
2422
build-and-push-agent:
23+
if: ${{ ! startsWith(github.ref, 'refs/tags/operator') }}
2524
runs-on: ubuntu-latest
2625
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
2726
permissions:

0 commit comments

Comments
 (0)