tettztezzera
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
name: ci
|
||||
|
||||
#https://docs.docker.com/build/ci/github-actions/push-multi-registries/
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -14,7 +16,7 @@ jobs:
|
||||
|
||||
# INSTALL docker
|
||||
- run: apt-get update
|
||||
- run: apt-get install ca-certificates curl gnupg
|
||||
- run: apt-get install ca-certificates curl gnupg dnsutils
|
||||
- run: install -m 0755 -d /etc/apt/keyrings
|
||||
- run: curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
- run: chmod a+r /etc/apt/keyrings/docker.gpg
|
||||
@@ -22,12 +24,6 @@ jobs:
|
||||
- run: apt-get update
|
||||
- run: apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
# BUILD & PUSH
|
||||
- name: Checkout private tools
|
||||
uses: actions/checkout@v3
|
||||
@@ -49,6 +45,8 @@ jobs:
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: user/app:latest
|
||||
secrets: |
|
||||
|
||||
Reference in New Issue
Block a user