Skip to content

Commit 4967a78

Browse files
committed
Update workflow
build-cloud ブランチで処理するようにした
1 parent 804579e commit 4967a78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docker-build-cloud.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: ci
1+
name: build-cloud
22

33
on:
44
push:
55
branches:
6-
- "master"
6+
- "build-cloud"
77

88
jobs:
99
docker:
@@ -23,15 +23,15 @@ jobs:
2323
with:
2424
version: "lab:latest"
2525
driver: cloud
26-
endpoint: "xlsoftpartner/docker-build-cloud-sample"
26+
endpoint: ${{ secrets.BUILDCLOUD_ENDPOINT }}
2727

2828
- name: Build and push
2929
uses: docker/build-push-action@v6
3030
with:
3131
sbom: true
3232
platforms: linux/amd64,linux/arm64
3333
context: .
34-
tags: "xlsoftpartner/net-client:alpine3.20"
34+
tags: ${{ secrets.DOCKERHUB_IMAGE_TAG }}
3535
# For pull requests, export results to the build cache.
3636
# Otherwise, push to a registry.
3737
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry,push=true' }}

0 commit comments

Comments
 (0)