Skip to content

Commit

Permalink
chore: leave fork network
Browse files Browse the repository at this point in the history
Signed-off-by: Henrique Goncalves <[email protected]>
  • Loading branch information
kamushadenes committed Feb 24, 2025
1 parent 21fb90b commit e449fea
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 178 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/release-chart.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/release-docker-branch.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/release-docker-latest.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/release-docker.yml

This file was deleted.

71 changes: 0 additions & 71 deletions .github/workflows/release-website.yml

This file was deleted.

22 changes: 6 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
on:
push:
tags:
- "*"
workflow_call:
inputs:
extra_args:
description: Extra args for go-releaser, for example '--snapshot'
required: false
type: string
version:
description: Version of base Transfer image
required: true
type: string
permissions: {}
env:
REGISTRY: ghcr.io
IMAGE_NAME: doublecloud/transfer
jobs:
build-and-push-image:
runs-on: ubuntu-latest
Expand All @@ -23,11 +19,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Dump version
run: |
echo "${{ inputs }}"
echo "${{ inputs.version }}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
Expand All @@ -37,11 +28,10 @@ jobs:
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # @v3
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/versioning.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Versioning

on:
push:
branches:
- main

permissions:
contents: write

jobs:
versioning:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Calculate version
id: calculate-version
uses: bitshifted/git-auto-semver@v1
with:
main_branch: main
create_tag: true
tag_prefix: "v"
release:
needs: [versioning]
uses: ./.github/workflows/release.yml
secrets: inherit

0 comments on commit e449fea

Please sign in to comment.