nocontainer
This commit is contained in:
parent
8086b297d0
commit
4550d117cc
@ -20,7 +20,6 @@ env:
|
||||
jobs:
|
||||
build-and-push-docker:
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
@ -32,19 +31,6 @@ jobs:
|
||||
- name: checkout repository
|
||||
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
|
||||
# https://`.com/docker/login-action
|
||||
- name: log into registry ${{ env.registry }}
|
||||
@ -64,5 +50,3 @@ jobs:
|
||||
tags: |
|
||||
${{ env.registry }}/${{ env.image_name }}:${{ gitea.sha }}
|
||||
${{ 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