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
|
||||
|
||||
permissions:
|
||||
packages: write
|
||||
id-token: write
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
@ -33,7 +38,7 @@ jobs:
|
||||
- name: Build and push Docker image
|
||||
run: |
|
||||
# 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
|
||||
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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
|
||||
steps:
|
||||
|
4
.github/workflows/translate_af.yml
vendored
4
.github/workflows/translate_af.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
||||
run-translation:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Afrikaans
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: German
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Greek
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Spanish
|
||||
@ -76,4 +76,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: French
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Hindi
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Italian
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Japanese
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Korean
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Polish
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Portuguese
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Serbian
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Swahili
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Turkish
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Ukranian
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
|
||||
image: ghcr.io/hacktricks-wiki/hacktricks/translator-image:latest
|
||||
environment: prod
|
||||
env:
|
||||
LANGUAGE: Chinese
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
|
||||
# Sync the build 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