ci(dagger): fix dagger-cue install #597
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy to DockerHub | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: docker/setup-qemu-action@v2.1.0 | |
- uses: docker/setup-buildx-action@v2.5.0 | |
- uses: actions/checkout@v3 | |
- name: login to docker hub | |
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
- name: build and deploy images | |
run: | | |
docker buildx build \ | |
-t a11ywatch/a11ywatch:latest \ | |
--platform linux/amd64,linux/arm64 \ | |
--push . |