|
|
|
@ -19,15 +19,15 @@ jobs:
|
|
|
|
|
steps: |
|
|
|
|
# environment |
|
|
|
|
- name: Checkout |
|
|
|
|
uses: actions/checkout@v3 |
|
|
|
|
uses: actions/checkout@v4 |
|
|
|
|
with: |
|
|
|
|
fetch-depth: '0' |
|
|
|
|
|
|
|
|
|
- name: Set up QEMU |
|
|
|
|
uses: docker/setup-qemu-action@v2 |
|
|
|
|
uses: docker/setup-qemu-action@v3 |
|
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx |
|
|
|
|
uses: docker/setup-buildx-action@v2 |
|
|
|
|
uses: docker/setup-buildx-action@v3 |
|
|
|
|
|
|
|
|
|
# get image tag name |
|
|
|
|
- name: Get Image Tag Name |
|
|
|
@ -38,13 +38,13 @@ jobs:
|
|
|
|
|
echo "TAG_NAME=${{ github.event.inputs.tag }}" >> $GITHUB_ENV |
|
|
|
|
fi |
|
|
|
|
- name: Login to DockerHub |
|
|
|
|
uses: docker/login-action@v2 |
|
|
|
|
uses: docker/login-action@v3 |
|
|
|
|
with: |
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }} |
|
|
|
|
password: ${{ secrets.DOCKERHUB_PASSWORD }} |
|
|
|
|
|
|
|
|
|
- name: Login to the GPR |
|
|
|
|
uses: docker/login-action@v2 |
|
|
|
|
uses: docker/login-action@v3 |
|
|
|
|
with: |
|
|
|
|
registry: ghcr.io |
|
|
|
|
username: ${{ github.repository_owner }} |
|
|
|
@ -72,7 +72,7 @@ jobs:
|
|
|
|
|
${{ env.TAG_FRPC_GPR }} |
|
|
|
|
|
|
|
|
|
- name: Build and push frps |
|
|
|
|
uses: docker/build-push-action@v4 |
|
|
|
|
uses: docker/build-push-action@v5 |
|
|
|
|
with: |
|
|
|
|
context: . |
|
|
|
|
file: ./dockerfiles/Dockerfile-for-frps |
|
|
|
|