Skip to content

Commit

Permalink
Merge pull request #34 from useplunk/revert-31-docker-versions
Browse files Browse the repository at this point in the history
Revert "Revert "Added version increment""
  • Loading branch information
driaug authored Aug 5, 2024
2 parents ac7cb4a + 1a1222f commit b7bec9a
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4

uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -25,25 +24,11 @@ jobs:
${{ runner.os }}-buildx-
- name: Log in to Docker Hub
uses: docker/login-action@v3
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract package version
id: package_version
run: echo "version=$(node -p \"require('./package.json').version\")" >> $GITHUB_ENV

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: driaug/plunk
tags: |
type=raw,value=${{ env.version }}
type=raw,value=latest
- name: Build and push
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit b7bec9a

Please sign in to comment.