Skip to content

Commit

Permalink
Update workflows to go-auto-release
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Apr 19, 2024
1 parent a39a121 commit e8cee78
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ on:
release:
types: [published]

permissions:
contents: write
packages: write
permissions: {}

concurrency:
group: ${{ github.workflow }}
Expand All @@ -15,18 +13,3 @@ jobs:
perform:
uses: cloudposse/.github/.github/workflows/shared-release-branches.yml@main
secrets: inherit

build-and-push:
runs-on: ubuntu-latest
steps:
- name: "Checkout source code at current commit"
uses: actions/checkout@v4
- name: "Build and push docker image to DockerHub"
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ github.repository }}
registry: registry-1.docker.io
tag_with_ref: true
tag_with_sha: true

0 comments on commit e8cee78

Please sign in to comment.