fix: remove external action dependency from workflow
Build and Push Docker Image / build (push) Successful in 7s
Build and Push Docker Image / build (push) Successful in 7s
This commit is contained in:
1 file changed
+5
-6
@@ -10,19 +10,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Checkout
|
||||
run: |
|
||||
git clone https://gitea.samson.media/samson-media/brave-search-mcp-server.git .
|
||||
git checkout ${{ github.sha }}
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build -t gitea.samson.media/samson-media/brave-search-mcp-server:latest .
|
||||
docker build -t "gitea.samson.media/samson-media/brave-search-mcp-server:${GITHUB_SHA:0:7}" .
|
||||
|
||||
- name: Log in to Gitea Registry
|
||||
- name: Log in and push
|
||||
run: |
|
||||
echo "${{ secrets.CI_TOKEN }}" | docker login -u ci@samson.media --password-stdin gitea.samson.media
|
||||
|
||||
- name: Push Docker image
|
||||
run: |
|
||||
docker push gitea.samson.media/samson-media/brave-search-mcp-server:latest
|
||||
docker push "gitea.samson.media/samson-media/brave-search-mcp-server:${GITHUB_SHA:0:7}"
|
||||
Reference in new issue
Block a user