Skip to content

Commit

Permalink
build: master -> main
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed May 11, 2021
1 parent 2daec9f commit 11eca95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: docker build + push
run: |
tag=$(basename $GITHUB_REF)
if [ $tag = "master" ]; then
if [ $tag = "main" ]; then
tag="latest"
fi
docker buildx build . --target ${{matrix.target}} --tag quay.io/argoproj/dataflow-${{matrix.target}}:$tag --push
Expand All @@ -103,7 +103,7 @@ jobs:
- name: Get tag
run: |
tag=$(basename $GITHUB_REF)
if [ $tag = "master" ]; then
if [ $tag = "main" ]; then
tag="latest"
fi
echo "##[set-output name=tag;]$tag"
Expand Down

0 comments on commit 11eca95

Please sign in to comment.