Skip to content

Commit

Permalink
fix github action v2
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Sep 27, 2020
1 parent c43abe9 commit 980a249
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,23 @@ jobs:
bundle install
- name: Run tests
run: bundle exec rake rubocop
- name: Build and push Docker images
uses: docker/build-push-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: voxpupuli/vox-pupuli-tasks
- name: Build and push Docker images
uses: docker/build-push-action@v2
with:
add_git_labels: true
tags: latest
tag_with_ref: true
tag_with_sha: true
- name: Build and push Docker images
uses: docker/build-push-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: voxpupuli/vox-pupuli-tasks
add_git_labels: true
tag_with_ref: true
push: ${{ startsWith(github.ref, 'refs/tags/') }}

0 comments on commit 980a249

Please sign in to comment.