Skip to content

Commit

Permalink
Update Github actions syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
robol committed Nov 14, 2022
1 parent f6b5fe5 commit 5bddd9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
bin/cake migrations migrate
php7.4 vendor/bin/phpunit --debug
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
- name: Docker meta
id: meta
uses: crazy-max/ghaction-docker-meta@v2
Expand All @@ -36,15 +36,15 @@ jobs:
type=ref,event=branch
type=semver,pattern={{version}}
- name: Login to Docker Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
if: ${{ github.event_name != 'pull_request' }}
with:
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
registry: harbor.cs.dm.unipi.it
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
if: ${{ github.event_name != 'pull_request' }}
with:
push: true
Expand Down

0 comments on commit 5bddd9a

Please sign in to comment.