From 87da5dca13b21104af81802a87a8b4a029941224 Mon Sep 17 00:00:00 2001 From: Varakh Date: Fri, 3 May 2024 09:06:39 +0200 Subject: [PATCH] feat(oci): move to Containerfile --- .forgejo/workflows/build.yaml | 3 +++ .forgejo/workflows/release.yaml | 3 +++ Dockerfile => Containerfile | 0 3 files changed, 6 insertions(+) rename Dockerfile => Containerfile (100%) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index caf0645..eac1806 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -39,6 +39,9 @@ jobs: - name: Test docker image build uses: docker/build-push-action@v4 with: + file: {context}/Containerfile + context: . + no-cache: true push: false tags: | ${{ env.IMAGE_TAG }}:${{ github.sha }} diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index bbd694e..a104547 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -68,6 +68,9 @@ jobs: - name: Upload artifacts uses: actions/forgejo-release@v1 with: + file: {context}/Containerfile + context: . + no-cache: true url: ${{ env.FORGEJO_URL }} repo: ${{ env.FORGEJO_REPO }} token: ${{ secrets.FORGEJO_TOKEN }} diff --git a/Dockerfile b/Containerfile similarity index 100% rename from Dockerfile rename to Containerfile