last one
This commit is contained in:
@@ -12,8 +12,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# Test with privileges true in runner config
|
|
||||||
|
|
||||||
# INSTALL docker
|
# INSTALL docker
|
||||||
- run: apt-get update
|
- run: apt-get update
|
||||||
- run: apt-get -y install curl dnsutils
|
- run: apt-get -y install curl dnsutils
|
||||||
@@ -34,8 +32,6 @@ jobs:
|
|||||||
ssh-strict: false
|
ssh-strict: false
|
||||||
token: ${{ secrets.ACCESS_TOKEN_GIT }}
|
token: ${{ secrets.ACCESS_TOKEN_GIT }}
|
||||||
ssh-known-hosts: ${{ secrets.SSH_KNOWN_GITEA }}
|
ssh-known-hosts: ${{ secrets.SSH_KNOWN_GITEA }}
|
||||||
# - name: Set up Docker Buildx
|
|
||||||
# uses: docker/setup-buildx-action@v3
|
|
||||||
- name: Login to Docker private registry
|
- name: Login to Docker private registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -46,11 +42,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
# registry: ${{ vars.REGISTRY_DOCKER }}
|
|
||||||
# username: ${{ secrets.REGISTRY_DOCKER_USER }}
|
|
||||||
# password: ${{ secrets.REGISTRY_DOCKER_PASS }}
|
|
||||||
# platforms: linux/amd64,linux/arm64
|
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ vars.REGISTRY_DOCKER }}/user/app:latest
|
tags: ${{ vars.REGISTRY_DOCKER }}/user/app:latest
|
||||||
secrets: |
|
# secrets: |
|
||||||
GIT_AUTH_TOKEN=${{ secrets.ACCESS_TOKEN_GIT }}
|
# GIT_AUTH_TOKEN=${{ secrets.ACCESS_TOKEN_GIT }}
|
||||||
Reference in New Issue
Block a user