Skip to content

Commit

Permalink
remove if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Atralupus committed Dec 18, 2024
1 parent 44f4306 commit eb849c2
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,26 @@ jobs:
- repo: planetariumhq/arena-service
dockerfile: Dockerfile
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
-
# Add support for more platforms with QEMU (optional)

- # Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/arm/v8,linux/amd64
-
name: Login to Docker Hub
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
-
name: Build and push

- name: Build and push
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name != 'pull_request' }}
Expand Down

0 comments on commit eb849c2

Please sign in to comment.