Skip to content

Commit

Permalink
Fx indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
owenkellogg committed Dec 1, 2023
1 parent 6d32f8f commit a10fd5f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ on:
branches: [ "*" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag anypay/web3-checkout:${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.head_ref }}
- name: Checkout code
uses: actions/checkout@v3

- name: Push Docker Image
- name: Build the Docker image
run: docker build . --file Dockerfile --tag anypay/web3-checkout:${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.head_ref }}

- name: Push Docker Image
if: github.event_name == 'push' && github.event_name != 'pull_request'
run: |
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push your-docker-username/your-docker-repo:latest
docker push anypay/web3-checkout:${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.head_ref }}

0 comments on commit a10fd5f

Please sign in to comment.