File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 push : false
3131 tags : dockette/coder:fx-test
3232 platforms : linux/amd64
33- cache-from : type=gha
34- cache-to : type=gha,mode=max
3533 load : true
3634
3735 - name : Smoke test image
@@ -40,11 +38,30 @@ jobs:
4038 build :
4139 name : " Build"
4240 needs : test
43- uses : dockette/.github/.github/workflows/docker.yml@master
44- secrets : inherit
45- with :
46- image : " dockette/coder"
47- tag : " fx"
48- context : " fx"
49- platforms : " linux/amd64"
50- push : ${{ github.ref == 'refs/heads/master' }}
41+ runs-on : ubuntu-latest
42+ steps :
43+ - name : Checkout
44+ uses : actions/checkout@v6
45+
46+ - name : Login to DockerHub
47+ uses : docker/login-action@v4
48+ with :
49+ username : ${{ secrets.DOCKERHUB_USERNAME }}
50+ password : ${{ secrets.DOCKERHUB_TOKEN }}
51+
52+ - name : Set up QEMU
53+ uses : docker/setup-qemu-action@v4
54+
55+ - name : Set up Docker Buildx
56+ uses : docker/setup-buildx-action@v4
57+
58+ - name : Build and push
59+ uses : docker/build-push-action@v7
60+ with :
61+ context : ./fx
62+ file : ./fx/Dockerfile
63+ push : ${{ github.ref == 'refs/heads/master' }}
64+ tags : dockette/coder:fx
65+ platforms : linux/amd64
66+ cache-from : type=gha
67+ cache-to : type=gha
You can’t perform that action at this time.
0 commit comments