2342
Some checks failed
Build Docker Image And Push / Build PHP ${{ matrix.php-version }} (ubuntu-latest, 8.0) (push) Failing after 25s

This commit is contained in:
meng 2024-03-15 11:04:06 +08:00
parent 226d70846b
commit 30d98896e7

View File

@ -29,7 +29,7 @@ jobs:
steps: steps:
- name: Login to Git Docker Hub - name: Login to Git Docker Hub
# https://github.com/docker/login-action#docker-hub # https://github.com/docker/login-action#docker-hub
uses: http://${{ secrets.HUB_USERNAME }}:${{ secrets.HUB_PASSWORD }}@git.des8.com/docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: git.des8.com registry: git.des8.com
username: ${{ secrets.HUB_USERNAME }} username: ${{ secrets.HUB_USERNAME }}
@ -41,13 +41,13 @@ jobs:
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
echo REPO_VERSION=$(echo ${{ github.ref }} | awk -F"/" '{print $3}' | awk -F"v" '{print $2}') >> $GITHUB_OUTPUT echo REPO_VERSION=$(echo ${{ github.ref }} | awk -F"/" '{print $3}' | awk -F"v" '{print $2}') >> $GITHUB_OUTPUT
- name: Checkout - name: Checkout
uses: http://${{ secrets.HUB_USERNAME }}:${{ secrets.HUB_PASSWORD }}@git.des8.com/docker/checkout@v3 uses: actions/checkout@v3
with: with:
github-server-url: http://git.des8.com github-server-url: http://git.des8.com
repository: ${{ secrets.HUB_USERNAME }}/webman-docker repository: ${{ secrets.HUB_USERNAME }}/webman-docker
- name: Build and push - name: Build and push
# https://github.com/docker/build-push-action # https://github.com/docker/build-push-action
uses: https://${{ secrets.HUB_USERNAME }}:${{ secrets.HUB_PASSWORD }}@git.des8.com/docker/build-push-action@v4 uses: build-push-action@v4
with: with:
context: . context: .
file: ./Dockerfile file: ./Dockerfile