Skip to content

Commit

Permalink
checkout repo b4 building
Browse files Browse the repository at this point in the history
  • Loading branch information
nionata committed Jun 22, 2020
1 parent e41a664 commit e7487f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ jobs:
tag-and-push-server-image:
runs-on: ubuntu-latest
steps:
- name: tag and push latest as release version
- name: Checkout repo
uses: actions/checkout@v2
- name: Tag and push latest as release version
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: nionata/offerize
tag_with_ref: true
push: ${{ startsWith(github.ref, 'refs/tags/') }}
cache_froms: nionata/offerize:latest
tag_with_ref: true

0 comments on commit e7487f2

Please sign in to comment.