nocontainer
This commit is contained in:
parent
8086b297d0
commit
4550d117cc
@ -20,7 +20,6 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-push-docker:
|
build-and-push-docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/catthehacker/ubuntu:act-latest
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
@ -32,19 +31,6 @@ jobs:
|
|||||||
- name: checkout repository
|
- name: checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
with:
|
|
||||||
driver: docker-container
|
|
||||||
|
|
||||||
- name: restore docker cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: /tmp/.buildx-cache
|
|
||||||
key: ${{ runner.os }}-buildx-${{ gitea.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-buildx-
|
|
||||||
|
|
||||||
# login against a docker registry except on pr
|
# login against a docker registry except on pr
|
||||||
# https://`.com/docker/login-action
|
# https://`.com/docker/login-action
|
||||||
- name: log into registry ${{ env.registry }}
|
- name: log into registry ${{ env.registry }}
|
||||||
@ -64,5 +50,3 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
${{ env.registry }}/${{ env.image_name }}:${{ gitea.sha }}
|
${{ env.registry }}/${{ env.image_name }}:${{ gitea.sha }}
|
||||||
${{ env.registry }}/${{ env.image_name }}:latest
|
${{ env.registry }}/${{ env.image_name }}:latest
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user