readd test

This commit is contained in:
ThePhaseless 2025-02-28 19:16:47 +01:00
parent ea1cf93456
commit efee40632f

View File

@ -23,33 +23,33 @@ env:
IMAGE_NAME: ${{ github.repository }}
jobs:
# test:
# runs-on: ubuntu-latest
# permissions:
# contents: read
# packages: write
# id-token: write
test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
# steps:
# - name: Checkout repository
# uses: actions/checkout@v4
steps:
- name: Checkout repository
uses: actions/checkout@v4
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# - name: Test
# id: test
# uses: docker/build-push-action@v6
# with:
# context: .
# platforms: linux/amd64
# cache-from: type=gha,scope=x64
# pull: true
# cache-to: type=gha,mode=max,scope=x64
# target: test
- name: Test
id: test
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64
cache-from: type=gha,scope=x64
pull: true
cache-to: type=gha,mode=max,scope=x64
target: test
build:
# needs: test
needs: test
runs-on: ubuntu-latest
permissions:
contents: read