Skip to content

Commit

Permalink
Modify Docker versions workflow
Browse files Browse the repository at this point in the history
The workflow now uses the default tags as they include the version and
latest.
  • Loading branch information
Dedalo314 committed Jan 13, 2024
1 parent 46c0086 commit 0dbf0d4
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/docker-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ jobs:
- name: Checkout repository to build machine
uses: actions/checkout@v2

- name: Set tag as output variable
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- name: Log in to the ghcr.io
uses: docker/login-action@v2
with:
Expand All @@ -72,7 +68,7 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.vars.outputs.tag }}
tags: ${{ steps.meta_dockerhub.outputs.tags }}
labels: ${{ steps.meta_ghcr.outputs.labels }}

docker-build-hub:
Expand Down Expand Up @@ -111,10 +107,6 @@ jobs:
- name: Checkout repository to build machine
uses: actions/checkout@v2

- name: Set tag as output variable
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -133,5 +125,5 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.vars.outputs.tag }}
tags: ${{ steps.meta_dockerhub.outputs.tags }}
labels: ${{ steps.meta_dockerhub.outputs.labels }}

0 comments on commit 0dbf0d4

Please sign in to comment.