Commit 5d16926 1 parent a2eb37c commit 5d16926 Copy full SHA for 5d16926
File tree 3 files changed +30
-22
lines changed
3 files changed +30
-22
lines changed Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ name : Docker build (version + latest)
2
+ on :
3
+ push : { tags: 'v*' }
4
+
5
+ jobs :
6
+ docker :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@v4
11
+ - name : Extract tag
12
+ run : echo "TAG=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV
13
+ - name : Set up QEMU
14
+ uses : docker/setup-qemu-action@v3
15
+ - name : Set up Docker Buildx
16
+ uses : docker/setup-buildx-action@v3
17
+ - name : Login to Docker Hub
18
+ uses : docker/login-action@v3
19
+ with :
20
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
21
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
22
+ - name : Build and push
23
+ uses : docker/build-push-action@v5
24
+ with :
25
+ context : .
26
+ platforms : linux/amd64,linux/arm64
27
+ push : true
28
+ tags :
29
+ - dannyben/bashly
30
+ - dannyben/bashly:${{ env.TAG }}
You can’t perform that action at this time.
0 commit comments