diff --git a/.drone.yml b/.drone.yml index b32154e21..0a9b49fbc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -113,7 +113,7 @@ steps: img build -t git.v0l.io/kieran/snort:${DRONE_TAG} \ --platform linux/amd64,linux/arm64 \ -f Dockerfile.prebuilt . - - img push git.v0l.io/kieran/snort:latest + - img push git.v0l.io/kieran/snort:${DRONE_TAG} volumes: - name: cache claim: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a996ef7e..0e05e72ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,31 +47,4 @@ jobs: releaseName: 'Snort v__VERSION__' releaseBody: 'See the assets to download and install this version.' releaseDraft: true - prerelease: false - build_docker: - runs-on: ubuntu-latest - steps: - - name: Set env variables - run: echo "TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV - - uses: actions/checkout@v2 - - uses: actions/cache@v2 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/setup-qemu-action@v2 - - uses: docker/setup-buildx-action@v2 - - name: Build the Docker image - run: | - docker buildx build \ - -t ghcr.io/${{ github.repository_owner }}/snort:$TAG \ - --cache-from "type=local,src=/tmp/.buildx-cache" \ - --cache-to "type=local,dest=/tmp/.buildx-cache" \ - --platform linux/amd64,linux/arm64 \ - --push . \ No newline at end of file + prerelease: false \ No newline at end of file