[*] 更新私有化actions
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 56s

This commit is contained in:
Martin 2025-01-13 16:23:45 +08:00
parent 1fe510105a
commit e01366ede1

View File

@ -9,17 +9,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: https://git.martin98.com/actions/checkout.git@v4
- name: Log in to Docker Hub - name: Log in to Docker Hub
uses: docker/login-action@v2 uses: https://git.martin98.com/actions/login-action.git@v3
with: with:
registry: ${{ vars.DOCKER_HUB }} registry: ${{ vars.DOCKER_HUB }}
username: ${{ vars.DOCKER_USERNAME }} username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ vars.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: https://git.martin98.com/actions/build-push-action.git@v4
with: with:
context: . context: .
platforms: linux/amd64 platforms: linux/amd64