Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Chara White committed Jun 6, 2024
1 parent ed5386b commit d457298
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions .github/workflows/buildPushDockerImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,25 @@ jobs:
name: Build & Push Docker Image
runs-on: ubuntu-latest
steps:
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USR }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
push: true
platforms: linux/amd64,linux/arm64
tags:
cwithw/grass-chrome-novnc:latest
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USR }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: cwithw/grass-chrome-novnc:latest

0 comments on commit d457298

Please sign in to comment.