name: Build-Release on: [push] jobs: Build-Release: runs-on: ubuntu-latest steps: - name: Check out repository code uses: https://github.com/actions/checkout@v4 - name: Setup docker build uses: https://github.com/docker/setup-buildx-action.git - name: Build docker image run: docker build --build-arg BASE_URL=https://mistox.com -t myapp:${GITEA_REF_NAME} . - name: Create Tarball of image run: docker save myapp:${GITEA_REF_NAME} -o myapp:${GITEA_REF_NAME}.tar - name: Upload Release Artifact uses: https://gitea.com/actions/upload-release-asset@v1 with: tag: ${{ gitea.ref_name }} file: myapp-${{ gitea.ref_name }}.tar