mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-23 06:00:47 -05:00
chore: removing docker image creation
This commit is contained in:
1 file changed
+1
-46
@@ -1,10 +1,7 @@
|
||||
name: Release
|
||||
|
||||
# Triggered when a SemVer tag (e.g. 0.1.0) is pushed.
|
||||
# Builds native binaries for all 5 platform targets, creates a GitHub Release,
|
||||
# and pushes Docker image floci/cli:<version>.
|
||||
#
|
||||
# Required secrets: DOCKERHUB_USERNAME, DOCKERHUB_TOKEN
|
||||
# Builds native binaries for all 5 platform targets and creates a GitHub Release.
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -13,7 +10,6 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
@@ -188,44 +184,3 @@ jobs:
|
||||
dist/floci-jar/floci.jar
|
||||
dist/sha256sums.txt
|
||||
|
||||
docker:
|
||||
name: Push Docker image
|
||||
needs: [build-linux-amd64, build-linux-arm64]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Extract version
|
||||
id: version
|
||||
run: echo "version=${GITHUB_REF_NAME}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: floci-linux-amd64
|
||||
path: docker/amd64/
|
||||
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: floci-linux-arm64
|
||||
path: docker/arm64/
|
||||
|
||||
- run: chmod +x docker/amd64/floci-linux-amd64 docker/arm64/floci-linux-arm64
|
||||
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
floci/cli:${{ steps.version.outputs.version }}
|
||||
floci/cli:latest
|
||||
build-args: VERSION=${{ steps.version.outputs.version }}
|
||||
Reference in new issue
Block a user