Compare commits
2 commits
migrate-ci
...
master
Author | SHA1 | Date | |
---|---|---|---|
![]() |
767f9f6bda | ||
![]() |
4d682a3ee1 |
4 changed files with 26 additions and 32 deletions
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
|
@ -1,30 +0,0 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
dockerfile_lint:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: node:18
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Run dockerfile_lint
|
||||
run: npx --cache .npx dockerfile_lint
|
||||
|
||||
docker_build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Build Docker image
|
||||
run: docker build -t tor-socks-proxy:${{ github.sha }} .
|
24
.travis.yml
Normal file
24
.travis.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
dist: focal
|
||||
|
||||
git:
|
||||
depth: 5
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env:
|
||||
- task=shellcheck
|
||||
language: node_js
|
||||
node_js:
|
||||
- "18"
|
||||
cache:
|
||||
directories:
|
||||
- .npx
|
||||
script:
|
||||
- npx --cache .npx dockerfile_lint
|
||||
- env:
|
||||
- task=Docker build
|
||||
language: minimal
|
||||
services:
|
||||
- docker
|
||||
script:
|
||||
- docker build -t tor-socks-proxy:$TRAVIS_COMMIT .
|
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.20
|
||||
FROM alpine:3.21
|
||||
|
||||
LABEL maintainer="Peter Dave Hello <hsu@peterdavehello.org>"
|
||||
LABEL name="tor-socks-proxy"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# Tor-socks-proxy
|
||||
|
||||

|
||||
[](https://github.com/PeterDaveHello/tor-socks-proxy/actions/workflows/ci.yml)
|
||||
[](https://app.travis-ci.com/PeterDaveHello/tor-socks-proxy)
|
||||
[](https://hub.docker.com/r/peterdavehello/tor-socks-proxy/)
|
||||
|
||||
[](https://hub.docker.com/r/peterdavehello/tor-socks-proxy/)
|
||||
|
|
Loading…
Add table
Reference in a new issue