Skip to content

Commit

Permalink
WIP updates
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Jan 25, 2024
1 parent 9a9c1ed commit e0fd1f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-database-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Log in to Docker Hub
uses: docker/login-action@v1
Expand All @@ -25,15 +25,15 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Push to Docker Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: database
push: true
tags: vizzuality/landgriffon-database:${{ github.ref != 'refs/heads/main' && 'staging' || 'production' }}

- name: Push "latest" tag to Docker Hub
if: ${{ github.ref == 'refs/heads/main' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: database
push: true
Expand Down

0 comments on commit e0fd1f1

Please sign in to comment.