Skip to content

Commit

Permalink
refactor: change naming structure of Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
NamesMT committed Feb 28, 2025
1 parent 893a018 commit eff36a2
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_image_pnpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Build node
uses: docker/build-push-action@v5
with:
file: ./Dockerfile.node
file: ./node.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Build node-dev
uses: docker/build-push-action@v5
with:
file: ./Dockerfile.node-dev
file: ./node-dev.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
Expand All @@ -71,7 +71,7 @@ jobs:
- name: Build node-aws
uses: docker/build-push-action@v5
with:
file: ./Dockerfile.node-aws
file: ./node-aws.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
Expand All @@ -81,7 +81,7 @@ jobs:
- name: Build node-aws-dev
uses: docker/build-push-action@v5
with:
file: ./Dockerfile.node-aws-dev
file: ./node-aws-dev.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ And call `~/alpine.docker.service.sh stop` to stop the docker service.
```sh
export imageName=namesmt/images-alpine
export imageTag= # node | node-dev | node-aws ...
docker build -f "Dockerfile.${imageTag}" -t "${imageName}:${imageTag}" "."
docker build -f "${imageTag}.Dockerfile" -t "${imageName}:${imageTag}" "."
docker push "${imageName}:${imageTag}"
```

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion node-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

## What this?
## Script to install a similar dev environment like `Dockerfile.node-dev` environment in a fresh Alpine instance, preferably inside of WSL.
## Script to install a similar dev environment like `node-dev.Dockerfile` environment in a fresh Alpine instance, preferably inside of WSL.

# Install basic packages
apk update
Expand Down
File renamed without changes.

0 comments on commit eff36a2

Please sign in to comment.