update
This commit is contained in:
parent
065ab4979d
commit
2a093b3a88
1 changed files with 13 additions and 12 deletions
|
@ -13,18 +13,19 @@ jobs:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Docker
|
- name: Set up Docker Buildx
|
||||||
run: curl -fsSL https://get.docker.com | sh
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Start Docker daemon
|
- name: Log in to Docker Hub
|
||||||
run: |
|
uses: docker/login-action@v2
|
||||||
dockerd > /dev/null 2>&1 &
|
with:
|
||||||
sleep 5
|
registry: git.hydrar.de
|
||||||
|
username: ${{ secrets.registry_user }}
|
||||||
- name: Log in to Docker registry
|
password: ${{ secrets.registry_password }}
|
||||||
run: echo "${{ secrets.registry_password }}" | docker login -u "${{ secrets.registry_user }}" --password-stdin git.hydrar.de
|
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
run: |
|
uses: docker/build-push-action@v4
|
||||||
docker build -t git.hydrar.de/jmarya/me-site:latest -t git.hydrar.de/jmarya/me-site:latest-amd64 .
|
with:
|
||||||
docker push git.hydrar.de/jmarya/me-site:latest
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: git.hydrar.de/jmarya/me-site:latest
|
Loading…
Add table
Reference in a new issue