Skip to content

Commit

Permalink
Update bcodeblockchain_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RockBanzai authored Oct 1, 2022
1 parent 249324a commit dd13e67
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/bcodeblockchain_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
docker build . --file Dockerfile --tag ${{ github.repository }}:${{ github.sha }} --tag ${{ github.repository }}:latest
docker push --all-tags ${{ github.repository }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: |
${{ github.repository }}:latest
${{ github.repository }}:${{ github.sha }}

0 comments on commit dd13e67

Please sign in to comment.