Skip to content

Commit

Permalink
fix action syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
meksor committed Feb 9, 2024
1 parent 430cb4d commit e769255
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,28 @@ on:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ene-docker.iiasa.ac.at
username: ixmp-server-workflow-build-user
password: ${{ secrets.NEXUS_PASSWORD }}
- if: github.event_name == 'release'
- name: Build and push latest
uses: docker/build-push-action@v5
with:
push: true
build-args:
POETRY_OPTS: "--with server"
tags: ene-docker.iiasa.ac.at/ixmp4-server:latest
- if: github.event_name != 'release'
- name: Build and push dev
uses: docker/build-push-action@v5
with:
push: true
build-args:
POETRY_OPTS: "--with server"
tags: ene-docker.iiasa.ac.at/ixmp4-server:dev
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ene-docker.iiasa.ac.at
username: ixmp-server-workflow-build-user
password: ${{ secrets.NEXUS_PASSWORD }}
- if: github.event_name == 'release'
- name: Build and push latest
uses: docker/build-push-action@v5
with:
push: true
build-args:
POETRY_OPTS: "--with server"
tags: ene-docker.iiasa.ac.at/ixmp4-server:latest
- if: github.event_name != 'release'
- name: Build and push dev
uses: docker/build-push-action@v5
with:
push: true
build-args:
POETRY_OPTS: "--with server"
tags: ene-docker.iiasa.ac.at/ixmp4-server:dev

0 comments on commit e769255

Please sign in to comment.