mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
docker image
This commit is contained in:
parent
f2b76a4938
commit
deafa9f269
7
.github/workflows/build_docker.yml
vendored
7
.github/workflows/build_docker.yml
vendored
@ -13,6 +13,11 @@ on:
|
|||||||
|
|
||||||
concurrency: build_docker
|
concurrency: build_docker
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
|
id-token: write
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -33,7 +38,7 @@ jobs:
|
|||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
run: |
|
run: |
|
||||||
# Define image name
|
# Define image name
|
||||||
IMAGE_NAME=ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image
|
IMAGE_NAME=ghcr.io/hacktricks-wiki/hacktricks/translator-image
|
||||||
|
|
||||||
# Build Docker image
|
# Build Docker image
|
||||||
docker build -t $IMAGE_NAME:latest .
|
docker build -t $IMAGE_NAME:latest .
|
||||||
|
2
.github/workflows/build_master.yml
vendored
2
.github/workflows/build_master.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
4
.github/workflows/translate_af.yml
vendored
4
.github/workflows/translate_af.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Afrikaans
|
LANGUAGE: Afrikaans
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_de.yml
vendored
4
.github/workflows/translate_de.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: German
|
LANGUAGE: German
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_el.yml
vendored
4
.github/workflows/translate_el.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Greek
|
LANGUAGE: Greek
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_es.yml
vendored
4
.github/workflows/translate_es.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Spanish
|
LANGUAGE: Spanish
|
||||||
@ -76,4 +76,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_fr.yml
vendored
4
.github/workflows/translate_fr.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: French
|
LANGUAGE: French
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_hi.yml
vendored
4
.github/workflows/translate_hi.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Hindi
|
LANGUAGE: Hindi
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_it.yml
vendored
4
.github/workflows/translate_it.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Italian
|
LANGUAGE: Italian
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_ja.yml
vendored
4
.github/workflows/translate_ja.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Japanese
|
LANGUAGE: Japanese
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_ko.yml
vendored
4
.github/workflows/translate_ko.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Korean
|
LANGUAGE: Korean
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_pl.yml
vendored
4
.github/workflows/translate_pl.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Polish
|
LANGUAGE: Polish
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_pt.yml
vendored
4
.github/workflows/translate_pt.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Portuguese
|
LANGUAGE: Portuguese
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_sr.yml
vendored
4
.github/workflows/translate_sr.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Serbian
|
LANGUAGE: Serbian
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_sw.yml
vendored
4
.github/workflows/translate_sw.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Swahili
|
LANGUAGE: Swahili
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_tr.yml
vendored
4
.github/workflows/translate_tr.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Turkish
|
LANGUAGE: Turkish
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_uk.yml
vendored
4
.github/workflows/translate_uk.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Ukranian
|
LANGUAGE: Ukranian
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
4
.github/workflows/translate_zh.yml
vendored
4
.github/workflows/translate_zh.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
run-translation:
|
run-translation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||||
environment: prod
|
environment: prod
|
||||||
env:
|
env:
|
||||||
LANGUAGE: Chinese
|
LANGUAGE: Chinese
|
||||||
@ -77,4 +77,4 @@ jobs:
|
|||||||
|
|
||||||
# Sync the build to S3
|
# Sync the build to S3
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
run: aws s3 sync ./book s3://hacktricks-cloud/$BRANCH --delete
|
run: aws s3 sync ./book s3://hacktricks-wiki/$BRANCH --delete
|
||||||
|
Loading…
x
Reference in New Issue
Block a user