Skip to content

Commit

Permalink
postman-to-k6 as a Docker image (#91)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Haselaars <>
  • Loading branch information
thim81 authored Jan 14, 2023
1 parent 83bc113 commit e7cc42d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish image
on:
release:
types: [released]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push ghcr.io
id: build-and-push
uses: docker/[email protected]
with:
push: true
tags: ghcr.io/${{ github.repository }}:latest
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased](https://github.com/apideck-libraries/postman-to-k6/compare/v1.8.5...HEAD)

- Build postman-to-k6 as a Docker image

## [1.8.6] - 2022-11-12

### Security
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:11-alpine
FROM node:lts-alpine

RUN mkdir -p /home/node/postman-to-k6/node_modules && chown -R node:node /home/node/postman-to-k6
WORKDIR /home/node/postman-to-k6
Expand Down

0 comments on commit e7cc42d

Please sign in to comment.