File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change 6666 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
6767 prerelease : false
6868 files : " xcore-boot-${{ github.ref_name }}.zip"
69-
70- build-host-docker :
71- name : " Build Host Software Docker Image"
72- needs : pre-commit
73- runs-on : ubuntu-latest
74- defaults :
75- run :
76- working-directory : ./host-software
77- steps :
78- - uses : actions/checkout@v4
79- - name : Set up Docker Buildx
80- id : buildx
81- uses : docker/setup-buildx-action@v3
82- - name : Login to GHCR
83- uses : docker/login-action@v3
84- with :
85- registry : ghcr.io
86- username : ${{ github.repository_owner }}
87- password : ${{ secrets.GITHUB_TOKEN }}
88- - name : Extract metadata (tags, labels) for Docker
89- id : meta
90- uses : docker/metadata-action@v5
91- with :
92- images : ghcr.io/${{ github.repository }}
93- - name : Build and push
94- id : build-and-push
95- uses : docker/build-push-action@v5
96- with :
97- context : host-software
98- tags : ${{ steps.meta.outputs.tags }}
99- labels : ${{ steps.meta.outputs.labels }}
100- push : true
101- cache-from : type=gha
102- cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments