Skip to content

Commit

Permalink
fix: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jetsung committed Nov 6, 2024
1 parent cc868bc commit b9541fa
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
REGISTRY_USER: ${{ github.actor }}
REGISTRY_PASSWORD: ${{ github.token }}
IMAGE_REGISTRY: ghcr.io
ORG_NAME: idevsig
IMAGE: cfspeedtest
TAG: latest
steps:
-
name: Checkout
Expand All @@ -48,16 +45,14 @@ jobs:
file: ./Containerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.ORG_NAME }}/${{ env.IMAGE }}:${{ env.TAG }}
tags: ${{ env.IMAGE_REGISTRY }}/idevsig/cfspeedtest:latest

build-docker:
name: Build And Push Docker Hub
runs-on: ubuntu-latest
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
IMAGE: cfspeedtest
TAG: latest

steps:
-
Expand All @@ -83,4 +78,4 @@ jobs:
file: ./Containerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ env.DOCKERHUB_USERNAME }}/${{ env.IMAGE }}:${{ env.TAG }}
tags: ${{ env.DOCKERHUB_USERNAME }}/cfspeedtest:latest

0 comments on commit b9541fa

Please sign in to comment.