Skip to content

Commit

Permalink
fix tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mindrunner committed May 7, 2023
1 parent 45e5c5b commit 214991c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '0 0 * * 0'

jobs:

Expand All @@ -23,15 +25,10 @@ jobs:
images: runmymind/docker-android-sdk
flavor: |
latest=auto
prefix=${{ matrix.os }}-
suffix=-${{ matrix.flavor }}
prefix=
suffix=
tags: |
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=sha
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && matrix.os == 'ubuntu' && matrix.flavor == 'standalone' }}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') && matrix.os == 'ubuntu' && matrix.flavor == 'standalone' }}
type=raw,value=${{ matrix.os }}-${{ matrix.flavor }},enable={{is_default_branch}}
- uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 214991c

Please sign in to comment.