diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 5d2fb4d..80aabd4 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -4,10 +4,11 @@ on: push: branches: - main + - 'releases/**' env: AWS_REGISTRY: "230690759643.dkr.ecr.eu-west-1.amazonaws.com" - REPOSITORY_NAME: "uv-system-consts-updater" + REPOSITORY_NAME: "docker-ubuntu-vnc-desktop" jobs: build: @@ -17,11 +18,6 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Set up Python 3 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1-node16 with: @@ -33,13 +29,10 @@ jobs: id: login-ecr uses: aws-actions/amazon-ecr-login@v1 - - name: Install dependencies - run: | - pip install -r requirements.txt - name: Build Docker Image uses: docker/build-push-action@v3 with: context: . push: true - tags: "${{ env.AWS_REGISTRY }}/${{ env.REPOSITORY_NAME }}:v${{ github.run_number }}" \ No newline at end of file + tags: "${{ env.AWS_REGISTRY }}/${{ env.REPOSITORY_NAME }}:${{ env.BRANCH }}${{ github.run_number }}" \ No newline at end of file