We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88cd0af commit e0e2cb1Copy full SHA for e0e2cb1
.github/workflows/docker-push.yml
@@ -0,0 +1,28 @@
1
+name: docker-push
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+ workflow_dispatch:
7
+jobs:
8
+ docker:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
+ - name: Login to Docker Hub
14
+ uses: docker/login-action@v3
15
+ with:
16
+ username: ${{ vars.DOCKERHUB_USERNAME }}
17
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
18
+ - name: Set up QEMU
19
+ uses: docker/setup-qemu-action@v3
20
+ - name: Set up Docker Buildx
21
+ uses: docker/setup-buildx-action@v3
22
+ - name: Build and push
23
+ uses: docker/build-push-action@v6
24
25
+ context: .
26
+ platforms: linux/amd64,linux/arm64
27
+ push: true
28
+ tags: ajeetdsouza/clidle:latest
0 commit comments