Skip to content

Commit ac662c1

Browse files
committed
Fix for CI build
1 parent afaa4a9 commit ac662c1

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

.github/workflows/build_and_deploy_gcp.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,25 @@ jobs:
5454
run: |
5555
python build_branches.py -env "${{ inputs.environment }}"
5656
57+
- name: Construct metadata tags input
58+
id: metadata-tags
59+
run: |
60+
echo 'tag_config<<EOF' >> $GITHUB_OUTPUT
61+
62+
if [ -n "${{ needs.generate-version.outputs.version }}" ]; then
63+
echo "type=raw,value=${{ needs.generate-version.outputs.version }}" >> $GITHUB_OUTPUT
64+
else
65+
echo "type=ref,event=branch" >> $GITHUB_OUTPUT
66+
echo "type=ref,event=pr" >> $GITHUB_OUTPUT
67+
echo "type=semver,pattern={{version}}" >> $GITHUB_OUTPUT
68+
echo "type=semver,pattern={{major}}.{{minor}}" >> $GITHUB_OUTPUT
69+
fi
70+
71+
echo 'EOF' >> $GITHUB_OUTPUT
72+
73+
- name: Set up QEMU
74+
uses: docker/setup-qemu-action@v3
75+
5776
- name: Set up Docker Buildx
5877
uses: docker/setup-buildx-action@v3
5978

@@ -80,8 +99,6 @@ jobs:
8099
- name: Push to GCP Artifact Registry
81100
uses: docker/build-push-action@v6
82101
with:
83-
file: ${{ inputs.dockerfile_path }}
84-
context: ${{ inputs.dockerfile_context }}
85102
push: true
86103
tags: ${{ steps.meta.outputs.tags }}
87104
labels: ${{ steps.meta.outputs.labels }}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ node_modules/
1111
*.iml
1212
temp_dir/
1313
package-lock.json
14-
package.json
14+
package.json
15+
branch/

branch/2604

Lines changed: 0 additions & 1 deletion
This file was deleted.

branch/dev

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)