From 6cdc94a8048e159fc9019a785c23c39e9124dda3 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..8d02232 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: ./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..a986099 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: ./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