Testing actions
rtj.dev Build and Deploy / Build-and-Deploy (push) Successful in 7s
Details
rtj.dev Build and Deploy / Build-and-Deploy (push) Successful in 7s
Details
This commit is contained in:
parent
9c50e83d6c
commit
9aff76fadf
|
@ -20,15 +20,11 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "💡 The "${{ gitea.repository }}" repository has been cloned to the runner."
|
echo "💡 The "${{ gitea.repository }}" repository has been cloned to the runner."
|
||||||
- name: Pass login information
|
- name: Pass login information
|
||||||
env:
|
|
||||||
DOCKER_AUTH_CONFIG: ${{ secrets.DOCKER_AUTH_CONFIG }}
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/.docker
|
mkdir -p $HOME/.docker
|
||||||
echo "$DOCKER_AUTH_CONFIG" | base64 -d > $HOME/.docker/config.json
|
echo "${{ secrets.DOCKER_AUTH_CONFIG }}" | base64 -d > $HOME/.docker/config.json
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
env:
|
|
||||||
GITEA_WORKSPACE: ${{ gitea.workspace }}
|
|
||||||
run: |
|
run: |
|
||||||
cd "$GITEA_WORKSPACE"
|
cd ${{ gitea.workspace }}
|
||||||
docker build -f Dockerfile -t git.rtj.dev/roland/rtj.dev:0.0.1 .
|
docker build -f Dockerfile -t git.rtj.dev/roland/rtj.dev:0.0.1 .
|
||||||
docker push git.rtj.dev/roland/rtj.dev:0.0.1
|
docker push git.rtj.dev/roland/rtj.dev:0.0.1
|
||||||
|
|
Loading…
Reference in New Issue