Skip to content

Commit e609067

Browse files
committed
feat: update github actions
1 parent dfd00a5 commit e609067

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build-and-push.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
context: .
5050
file: ./Dockerfile
5151
push: true
52-
tags: ${{ env.REGISTRY }}/${{ env.DOCKERHUB_USERNAME }}/webqa-agent:${{ steps.extract_tag.outputs.tag_name }}
52+
tags: |
53+
${{ env.REGISTRY }}/${{ env.DOCKERHUB_USERNAME }}/webqa-agent:${{ steps.extract_tag.outputs.tag_name }}
54+
${{ env.REGISTRY }}/${{ env.DOCKERHUB_USERNAME }}/webqa-agent:latest
5355
cache-from: type=gha
5456
cache-to: type=gha,mode=max
5557
platforms: linux/amd64
@@ -87,6 +89,7 @@ jobs:
8789
echo "" >> CHANGELOG.md
8890
echo "### 📦 Docker Images" >> CHANGELOG.md
8991
echo "- \`${{ env.DOCKERHUB_USERNAME }}/webqa-agent:$CURRENT_TAG\`" >> CHANGELOG.md
92+
echo "- \`${{ env.DOCKERHUB_USERNAME }}/webqa-agent:latest\`" >> CHANGELOG.md
9093
echo "" >> CHANGELOG.md
9194
9295
if [ -n "$PREVIOUS_TAG" ]; then
@@ -118,8 +121,8 @@ jobs:
118121
- name: Notify build status
119122
run: |
120123
if [ "${{ needs.build-and-push.result }}" == "success" ]; then
121-
echo "✅ Docker image built and pushed successfully!"
122-
echo "✅ Both versioned and latest tags have been updated!"
124+
echo "✅ Docker images built and pushed successfully!"
125+
echo "✅ Both versioned tag and latest tag have been updated!"
123126
else
124127
echo "❌ Docker image build failed!"
125128
exit 1

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ output/
227227
.pytest*
228228
test.py
229229
test_cases_*.json
230+
*.html
230231

231232
#config
232233
.env

0 commit comments

Comments
 (0)