Skip to content

Commit

Permalink
Removed push from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lapplislazuli authored Mar 29, 2022
1 parent 32d530d commit fcba51d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ci

on:
schedule:
- cron: '0 10 * * *'
- cron: '0 0 * * *'
push:
branches:
- 'main'
Expand All @@ -28,6 +28,7 @@ jobs:
with:
# list of Docker images to use as base name for tags
images: |
ciselab/codebert-code2text
ciselab/codebert-codetotext-reproduction/codebert-code2text
ghcr.io/ciselab/codebert-codetotext-reproduction/codebert-code2text
# generate Docker tags based on the following events/attributes
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit fcba51d

Please sign in to comment.